Results 1 to 3 of 3

Thread: remaster kernel--Kernel Panic: VFS......

  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    7

    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!!!

  2. #2
    Junior Member
    Join Date
    May 2005
    Posts
    2
    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!!

  3. #3
    Member registered user
    Join Date
    Dec 2003
    Posts
    57
    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

  1. kernel panic
    By greg m in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-22-2006, 02:06 AM
  2. Errors and kernel panic during boot (2.6 Kernel)
    By gitarzysta in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-03-2004, 08:36 PM
  3. kernel panic with custom kernel
    By cYmen in forum Customising & Remastering
    Replies: 0
    Last Post: 07-14-2003, 10:17 AM
  4. Modified kernel results in Kernel Panic - No init found.
    By tji in forum Customising & Remastering
    Replies: 4
    Last Post: 06-12-2003, 06:40 PM
  5. Kernel panic
    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
  •  


Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro picture

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro

$239.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro picture

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro

$319.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo Thinkpad T14 Gen 2i 14

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black

$313.00



Lenovo ThinkPad T14 Gen 1 14

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD

$219.99



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo Thinkpad T14 Gen 2 14

Lenovo Thinkpad T14 Gen 2 14" 16GB, Thunder Black

$387.46



Lenovo IdeaPad 1 15AMN7 15.6

Lenovo IdeaPad 1 15AMN7 15.6" 8GB 512GB, ABYSS BLUE

$190.99



Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11 picture

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11

$229.99