-
Senior Member
registered user
LILO installed to wrong MBR?
Ok so here's what I've done so far:
Partition my 40GB HDD with 19GB at hda1 for Windows, 20GB at hda2 for Linux, and 1GB at hda3 for swap.
I installed Windows XP to hda1 and it re-wrote my MBR. Not a problem - I haven't installed Knoppix yet.
Installed Knoppix to hda2. It went fine.
I reboot
It boots Windows.
How do I install LILO/GRUB to the MBR now?
[edit] after reading around a bit, it seems that LILO may have been installed to the "MBR" of hda2 instead of hda1. Is there a way to install just the bootloader to the MBR on hda1 when running Knoppix from CD?
-
Senior Member
registered user
You should be able to start your knoppix HD install from the CD with the bootcode 'knoppix root=/dev/hda5 noinitrd ro' (replace hda5 with the correct partition for where you installed knoppix to (hdb1?)).
Then check /etc/lilo.conf. If for the line 'boot=/dev/hd??'. Lilo should install to the MBR of whichever HD is specified there. You can install lilo from the HD install with the command 'sudo lilo'.
-
Senior Member
registered user
Ok, I did that... I get this error:
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
Incompatible libdevmapper 1.00.19-ioctl (2004-07-03)(compat) and kernel driver
Warning: Unable to determine video adapter in use in the present system.
Fatal: open /usr/share/lilo/contrib/debian.bmp: No such file or directory
I think I'm going to push the image of my current XP partition out to hda2 with partimage, and then install knoppix on hda1. Hopefully that will alleviate this issue...
-
Senior Member
registered user
the /dev/mapper error has been encountered before, see the last post on this thread:
www.knoppix.net/forum/viewtopic.php?t=16328
-
Senior Member
registered user
Thank you so much CrashedAgain!
It worked like a charm!
Similar Threads
-
By thejackal13 in forum Hardware & Booting
Replies: 10
Last Post: 09-21-2005, 12:30 AM
-
By devellino in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 12-29-2004, 03:16 AM
-
By emmbec in forum MS Windows & New to Linux
Replies: 2
Last Post: 11-09-2004, 11:16 PM
-
By Drezliok in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 07-20-2004, 11:00 AM
-
By diginik in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 04-07-2004, 11:58 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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99

Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4
$39.00

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HGST HUS726060ALE610 0F23001 6TB HDD 3.5" SATA 6Gb/s 7.2K Hard Drive (V6315)
$69.95

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99