-
remaster kernel--Kernel Panic: VFS......
My Knoppix is using Kernel 2.4.**, I want to change it to 2.6.11
1. chroot to my Knoppix's Linux source code
2. modify /etc/apt/source.lst
3. apt-get update
4. apt-get install kernel-image-2.6.11**, apt-get install kernel-source-2.6.11** and ln -s kernel-source** linux in /usr/src
5. apt-get source cloop-utils
6. go to cloop's source code and compile cloop.
**** after make KERNEL=/usr/src/linux, it creates cloop.ko, i check its Makefile, when kernel is 2.6.* , cloop will create cloop.ko but not cloop.o
7. get boot.img and mount boot.img *** -t msdos -o loop
8. get miniroot.gz and uncompress it, then cp cloop.ko /miniroot/moudle/cloop.o
9. gzip -9 miniroot and cp miniroot.gz **/, also cp /boot/vmlinuz-2.6.11 "boot.img's mouting directory"/vmlinuz
10 put boot.img back to the original place and rm .bash_history
11. mkisofs.
12 try the iso in Vmware, but the error message is :
vmlinuz.......
miniroot.gz......
Uncompressing Linux... OK, booting the kernel.
PCI: Cannot allocate resource region 4 of device 0000:00:07.1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(254, 0)
I am using knoppix vga=normal. when i try noswp, also the result.
Anyone can help me ?
thx very much!!!
-
Hi!
I'm trying to compile the cloop-util for a 2.6.11 kernel but I get the following error:
compressed_loop.c: In function `clo_read_actor':
compressed_loop.c:205: error: structure has no member named `buf'
compressed_loop.c: In function `clo_read_from_file':
compressed_loop.c:231: error: structure has no member named `buf'
What version of cloop-utils do you have? What url's do you put in source.lst??
thx a lot!!
-
It looks like you are using a version less than 2.02. I found that error in 2.01-5 and such. Knopper said he thought the newer source was posted, but I don't know where that would be....
BillS
Similar Threads
-
By greg m in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-22-2006, 02:06 AM
-
By gitarzysta in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-03-2004, 08:36 PM
-
By cYmen in forum Customising & Remastering
Replies: 0
Last Post: 07-14-2003, 10:17 AM
-
By tji in forum Customising & Remastering
Replies: 4
Last Post: 06-12-2003, 06:40 PM
-
By mordor in forum General Support
Replies: 3
Last Post: 03-26-2003, 05:41 AM
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
SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46
$12.99
SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46
$10.99
SanDisk 128GB Ultra Dual Drive Luxe USB Type-C Flash Drive - SDDDC4-128G-G46
$15.99
SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46
$109.99
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$5.99
Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof
$8.34
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$234.39
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$379.99
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$259.34