-
Problems with custom kernel: "/linuxrc: cannot create..
I am remastering Knoppix to produce a demo disk for some kernel monitoring software I have been developing. As a first step, I am just trying to remaster with a kernel I compiled using the configuration file in /boot of the Knoppix CD (v3.3 2003/09/22 EN). I have read through the Knoppix Custom Kernel Howto and have followed the directions. These are the general steps I took (details available on demand):
- Installed new kernel and cloop module using dpkg (in chroot environment)
- Added an entry in lilo.conf for new kernel (in chroot environment)
- Remastered miniroot.gz with modules from above kernel
- Remastered boot.img with above kernel
- Install boot.img on floppy and reboot (/cdrom files on root of /dev/hda4)
Syslinux uncompresses miniroot and starts to boot vmlinuz. When linuxrc gets to "Creating directories and symlinks on ramdisk..." it dies with the following error messages:
Code:
/linuxrc: cannot create /etc/ioctl.save: file system full
FAT: bogus logical sector size 61440
Kernel panic: VFS: Unable to mount root fs on 03:01
The custom kernel howto says that changing the size of miniroot causes problems (although not specifically this problem), so I kept the same size when I used dd to create the empty file to be mounted as miniroot. (I had to increase the number of inodes to 1024 when creating the file system so I wouldn't run out when copying things onto it.) I don't think that is the problem either. In fact, I have no idea what the problem is or how to look for it. I have been stuck on this problem for over a week. I would greatly appreciate any help you can give. If there is a more detailed explanation of how to install a custom kernel on Knoppix, I would appreciate knowing about that too.
BTW, my ultimate goal is to be able to select at boot time the original kernel or the kernel with my monitoring instrumentation in it. Does anyone know how to create boot floppies that can do that or will I have to go with isolinux? Is there a way to boot using isolinux without having to burn a CD each time? (My mastering machine does not have a CD-R/RW drive in it so I would need to move everything to another machine if I need to burn a CD each time. Not to mention that burning CDs are a bother... CD-RWs take a long time to erase.)
Mark
Similar Threads
-
By marksalot in forum Customising & Remastering
Replies: 0
Last Post: 05-11-2005, 09:53 PM
-
By gwj in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 02-13-2005, 08:10 PM
-
By bluedevlx in forum General Support
Replies: 3
Last Post: 11-02-2004, 01:22 AM
-
By toltech in forum Customising & Remastering
Replies: 1
Last Post: 03-16-2004, 10:52 PM
-
By ktheking in forum Customising & Remastering
Replies: 7
Last Post: 04-07-2003, 03:43 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

AMD Ryzen 5 7600X 6-Core 4.7GHz CPU Socket AM5 32MB L3 6MB L2
$120.00

INTEL CORE I7-9700K PROCESSOR | 3.60GHZ | SRG15
$89.99

Intel SRG13 Core i7-9700 3.00GHz Socket 1151 8 Core CPU Processor LGA1151
$77.99

AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065
$135.00

Intel Core i9-9900 3.10GHz CPU Processor SRG18
$165.00

Intel Core i5-7500 SR335 3.4GHz 4-Core LGA 1151 CPU PROCESSOR
$13.69

*Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5 (Bulk+Fast)
$790.00

Intel Core i7-11700F SRKNR 2.5GHz 8-Core 16MB CPU Processor Socket LGA1200
$149.99