Results 1 to 5 of 5

Thread: LILO installed to wrong MBR?

  1. #1
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200

    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?

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    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'.

  3. #3
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    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...

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    the /dev/mapper error has been encountered before, see the last post on this thread:
    www.knoppix.net/forum/viewtopic.php?t=16328

  5. #5
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    Thank you so much CrashedAgain!
    It worked like a charm!

Similar Threads

  1. Booting the wrong Kernel - Knoppix, Slackware, LiLo
    By thejackal13 in forum Hardware & Booting
    Replies: 10
    Last Post: 09-21-2005, 12:30 AM
  2. Wrong MBR for Lilo when using koppix 3.7 HD installer script
    By devellino in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-29-2004, 03:16 AM
  3. Installed Windows and LILO was erased
    By emmbec in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 11-09-2004, 11:16 PM
  4. I've lost the drive I installed on, how to remove lilo?
    By Drezliok in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 07-20-2004, 11:00 AM
  5. What`s wrong with Lilo?
    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
  •  


Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks picture

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks

$79.00



Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation picture

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation

$500.00



HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage picture

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage

$166.24



Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25 picture

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25

$799.00



Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive picture

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive

$649.00



Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ* picture

Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ*

$199.99



Mainframe Computer Data Punch Card Lot of 50 Orange 80 Column IBM comp Vtg NOS picture

Mainframe Computer Data Punch Card Lot of 50 Orange 80 Column IBM comp Vtg NOS

$15.00



Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000 picture

Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000

$99.95



Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB picture

Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB

$98.95



HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer picture

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer

$165.58