-
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.
-
Senior Member
registered user
-
![Quote](images/misc/quote_icon.png)
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.
![Very Happy](images/smilies/icon_biggrin.gif)
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
-
By jkwash in forum Hardware & Booting
Replies: 1
Last Post: 05-21-2005, 12:18 PM
-
By Calvi Risorta in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 05-29-2004, 11:01 AM
-
By SgtRauksauff in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 05-06-2004, 12:38 AM
-
By bbouton in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 03-10-2004, 03:04 AM
-
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
-
Forum Rules
![*READ* LENOVO ThinkPad T480 i5-8250U 8 GB RAM 256 GB SSD Windows 10 Pro picture](/store/img/g/vX8AAOSw6~RmhDh-/s-l225/-READ-LENOVO-ThinkPad-T480-i5-8250U-8-GB-RAM-256-G.jpg)
*READ* LENOVO ThinkPad T480 i5-8250U 8 GB RAM 256 GB SSD Windows 10 Pro
$200.00
![15.6](/store/img/g/aFMAAOSwS4dmT5XL/s-l225/15-6-Lenovo-ThinkPad-Laptop-PC-Intel-i5-16GB-RAM-5.jpg)
15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 10 Webcam
$229.99
![Lenovo ThinkPad E, AMD, 8GB RAM, 256GB SSD, No OS, 20T80005US picture](/store/img/g/-5MAAOSwIydllv39/s-l225/Lenovo-ThinkPad-E-AMD-8GB-RAM-256GB-SSD-No-OS-20T8.jpg)
Lenovo ThinkPad E, AMD, 8GB RAM, 256GB SSD, No OS, 20T80005US
$200.00
![LENOVO 14](/store/img/g/ne4AAOSwartmhEKj/s-l225/LENOVO-14-THINKPAD-L480-INTEL-CORE-I5-8250U-NO-HDD.jpg)
LENOVO 14" THINKPAD L480 INTEL CORE I5-8250U NO HDD/CADDY/OS 8GB SKU#56805
$39.99
![Lenovo ThinkPad L14 Gen 2 Ryzen 5 PRO 5650U 2.3GHz/16GB RAM/256GB NVMe SSD picture](/store/img/g/k2YAAOSwdIhmhDKg/s-l225/Lenovo-ThinkPad-L14-Gen-2-Ryzen-5-PRO-5650U-2-3GHz.jpg)
Lenovo ThinkPad L14 Gen 2 Ryzen 5 PRO 5650U 2.3GHz/16GB RAM/256GB NVMe SSD
$199.99
![Lenovo Ideapad 1 14](/store/img/g/l2oAAOSw3UplMDZC/s-l225/Lenovo-Ideapad-1-14-Laptop-Celeron-N4020-with-4GB-.jpg)
Lenovo Ideapad 1 14" Laptop - Celeron N4020 with 4GB Memory - Intel UHD Graph...
$149.99
![Lenovo Ideapad 1i 15.6](/store/img/g/DRgAAOSw3QFl~IJV/s-l225/Lenovo-Ideapad-1i-15-6-FHD-Touchscreen-Laptop-Inte.jpg)
Lenovo Ideapad 1i 15.6" FHD Touchscreen Laptop - Intel Core i3-1215U with 8GB...
$329.99
![Lenovo ThinkPad T540P 15.6](/store/img/g/OVgAAOSwMgBmfcp-/s-l225/Lenovo-ThinkPad-T540P-15-6-FHD-Laptop-PC-Intel-i5-.jpg)
Lenovo ThinkPad T540P 15.6" FHD Laptop PC Intel i5 8GB Ram 256GB SSD Fingerprint
$118.00
![Lenovo ThinkPad Laptop PC Computer 15.6](/store/img/g/DLkAAOSwMapmfYli/s-l225/Lenovo-ThinkPad-Laptop-PC-Computer-15-6-Core-i5-8G.jpg)
Lenovo ThinkPad Laptop PC Computer 15.6" Core i5 8GB RAM 256GB SSD Windows 11
$188.57
![14](/store/img/g/j20AAOSwVIxmT2hV/s-l225/14-Lenovo-ThinkPad-Laptop-Intel-i5-Quad-Core-16GB-.jpg)
14" Lenovo ThinkPad Laptop: Intel i5 Quad Core 16GB RAM 1TB SSD Windows 11
$249.95