-
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
![LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5 picture](/store/img/g/NLUAAOSwSoBkpZ7y/s-l225/LOT-QTY-2-of-INTEL-XEON-10-CORE-E5-2690-V2-25MB-3-.jpg)
LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5
$139.99
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 NO OS GA picture](/store/img/g/rIQAAOSwN9Nlnw4a/s-l225/HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-2x2.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 NO OS GA
$164.98
![Dell T7810 Workstation 1x E5-2603 v3 16GB RAM Nvidia QUADRO +cables picture](/store/img/g/p7UAAOSwdWxmeBAb/s-l225/Dell-T7810-Workstation-1x-E5-2603-v3-16GB-RAM-Nvid.jpg)
Dell T7810 Workstation 1x E5-2603 v3 16GB RAM Nvidia QUADRO +cables
$120.00
![E5-2699V4 Intel Xeon Processor 55M Cache, 2.20 GHz SR2JS CM8066002022506 picture](/store/img/g/HmIAAOSwls5frj~X/s-l225/E5-2699V4-Intel-Xeon-Processor-55M-Cache-2-20-GHz-.jpg)
E5-2699V4 Intel Xeon Processor 55M Cache, 2.20 GHz SR2JS CM8066002022506
$155.00
![SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor picture](/store/img/g/fEMAAOSwy1JmPnWm/s-l225/SR1XP-Intel-Xeon-E5-2680-v3-12-Core-30MB-2-5GHz-LG.jpg)
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$3.38
![Intel SR1XD Xeon E5-2699V3 2.30Ghz 18-Core Socket 2011 CPU Processor Haswell picture](/store/img/g/FLcAAOSwR89mfH1M/s-l225/Intel-SR1XD-Xeon-E5-2699V3-2-30Ghz-18-Core-Socket-.jpg)
Intel SR1XD Xeon E5-2699V3 2.30Ghz 18-Core Socket 2011 CPU Processor Haswell
$35.00
![Intel SR1A5 Xeon E5-2690 V2 LGA 2011/Socket R 3.0GHz Server CPU picture](/store/img/g/yKwAAOSwXy9mhGKG/s-l225/Intel-SR1A5-Xeon-E5-2690-V2-LGA-2011-Socket-R-3-0G.jpg)
Intel SR1A5 Xeon E5-2690 V2 LGA 2011/Socket R 3.0GHz Server CPU
$14.99
![Intel Xeon E5-2640v4 2.4GHz 10-Core 25MB 90W SR2NZ picture](/store/img/g/51YAAOSw0Jpl8uTP/s-l225/Intel-Xeon-E5-2640v4-2-4GHz-10-Core-25MB-90W-SR2NZ.jpg)
Intel Xeon E5-2640v4 2.4GHz 10-Core 25MB 90W SR2NZ
$5.45
![INTEL XEON GOLD 6136 PROCESSOR | 3.00GHZ | SR3B2 picture](/store/img/g/QfEAAOSwi9ZmhEA6/s-l225/INTEL-XEON-GOLD-6136-PROCESSOR-3-00GHZ-SR3B2.jpg)
INTEL XEON GOLD 6136 PROCESSOR | 3.00GHZ | SR3B2
$69.99
![Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture](/store/img/g/CdkAAOSwY0BmYMoF/s-l225/Dell-Poweredge-R730xd-LFF-14-Bay-2U-Server-Choose-.jpg)
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99