Results 1 to 3 of 3

Thread: HD install, LILO to GRUB conversion, boot error message.

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    4

    HD install, LILO to GRUB conversion, boot error message.

    Dear folks
    I'm trying to change the bootloader of the harddisk installation of knoppix 3.6 on a compaq presario laptop from LILO to GRUB.
    The following is the entry from lilo.conf:

    image=/boot/vmlinuz-2.4.27
    label="Linux(2.4)-1"
    initrd=/boot/initrd.img-2.4.27
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce q
    uiet lang=us"
    read-only

    I changed this to:
    title deb-2.4.27
    kernel (hd0,9)/boot/vmlinuz-2.4.27 ramdisk_size=100000 init=/etc/init lang=us ap
    m=power-off nomce quiet lang=us
    initrd (hd0,9)/boot/initrd.img-2.4.27

    for GRUB in /boot/grub/menu.lst.
    But I get the following error message during boot:
    (mount: fs type devfs not supported by kernel
    umount: devfs: not mounted)
    pivot-root: No such file or directory
    /sbin/init: 426: cannot open dev/console: No such file
    kernel panic: Attempted to kill init!

    I've noticed an open bug reported:

    23. Hardware Dell Optiplex 260. Installed Knoppix 3.6 to hard drive. hda1: NTFS, hda2 FAT32, hda3 linux, hda4 linux swap. At the beginning of the bootup process I get the following error message twice: (Norm)

    initrd-tools 0.1.73
    mount: fs type devfs not supported by kernel
    umount: devfs: not mounted

    But the point is I have been already able to boot by LILO as the secondary bootloader!

    What am I missing?
    Thanks in advance.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Your menu.lst should look like this:

    title deb-2.4.27
    root (hd0,9) **(check on this, is it really on 10th partition of first hd.)
    kernel /boot/vmlinuz-2.4.27 root=/dev/hda10 ro ramdisk_size=100000 lang=us apm=power-off nomce quiet lang=us
    initrd (hd0,9)/boot/initrd.img-2.4.27 **(check on this, maybe you don't need this. Check in /boot, sometimes it's empty)
    savedefault
    boot

    Other ways to do this is, let grub update itself.
    1) Delete or rename menu.lst to something else: ex: menu.backup
    2) Open root konsole and run : update-grub
    Reboot, and see if it can boot properly.
    You can edit the menu.lst created by grub later on.


  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    4
    Quote Originally Posted by shah
    Your menu.lst should look like this:

    title deb-2.4.27
    root (hd0,9) **(check on this, is it really on 10th partition of first hd.)
    kernel /boot/vmlinuz-2.4.27 root=/dev/hda10 ro ramdisk_size=100000 lang=us apm=power-off nomce quiet lang=us
    initrd (hd0,9)/boot/initrd.img-2.4.27 **(check on this, maybe you don't need this. Check in /boot, sometimes it's empty)
    savedefault
    boot

    Other ways to do this is, let grub update itself.
    1) Delete or rename menu.lst to something else: ex: menu.backup
    2) Open root konsole and run : update-grub
    Reboot, and see if it can boot properly.
    You can edit the menu.lst created by grub later on.

    Thanks for the reply.
    I tried the first way but I got the same error message.
    For the second way I didn't find a grub-update on the cd so ...
    But anyhow the easier way is to quit HDD installation after you have defined your preferences and edit /root/.knofig and change the bootloader from lilo to grub.

Similar Threads

  1. Error message on boot up
    By jkwash in forum Hardware & Booting
    Replies: 1
    Last Post: 05-21-2005, 12:18 PM
  2. Boot error message
    By Calvi Risorta in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-29-2004, 11:01 AM
  3. winxp, gentoo, knoppix, grub, and a boot error message
    By SgtRauksauff in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 05-06-2004, 12:38 AM
  4. HDD install problem - Error 0x07 using LILO from boot disk
    By bbouton in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-10-2004, 03:04 AM
  5. Need help with Boot up error message.
    By RiverStan in forum The Lounge
    Replies: 3
    Last Post: 03-02-2004, 03:26 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
  •  


***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$29.77



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Asus  PRIME H510M-A Intel LGA 1200 DDR4 SDRAM Desktop Motherboard w/ I/O shield picture

Asus PRIME H510M-A Intel LGA 1200 DDR4 SDRAM Desktop Motherboard w/ I/O shield

$64.98



Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD picture

Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD

$89.99



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$46.99



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



ASUS B150M-C Motherboard mATX W/LGA1151 6TH/7TH GEN CPU DDR4 SATA HDMI Tested picture

ASUS B150M-C Motherboard mATX W/LGA1151 6TH/7TH GEN CPU DDR4 SATA HDMI Tested

$55.00



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$48.70



Asus X99-A II Foxconn LGA2011 ATX Motherboard - Motherboard Only picture

Asus X99-A II Foxconn LGA2011 ATX Motherboard - Motherboard Only

$112.50