Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-30-2010, 02:37 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
Installing lilo item when a drive is not present


I have to computers: 'A' (linux) and 'B' (windos). On 'A' I have a linux system that i copy over to a movable disk on which i install the lilo bootloader. Now when I move the disk to 'B' I am able to boot into the new linux system, however I would like to have an item in the lilo boot menu from which I can boot the windows system on 'B' also. And now the tricky part: I would like to create this item when the disk is still on 'A' where windows is not present.
When I add:
other = /dev/hda1
label = MS-Windows
map-drive = 0x80 to = 0x81
map-drive = 0x81 to = 0x80

and run "lilo" on A it complains that /dev/hda1 is not present.

I have tried using "disk = /dev/hda1 inaccessible" without any luck.

Is it possible to "cheat" lilo into adding an item pointing to a disk that is not present on your system ?
Old 10-31-2010, 09:25 AM   #2
Senior Member
Registered: Oct 2003
Posts: 2,564

Rep: Reputation: 214Reputation: 214Reputation: 214
Not that I'm aware of. It's one of the drawbacks of lilo. It's no problem for grub however. With grub you just edit the config file and the target drive for any entry need not be present.
Old 11-02-2010, 06:05 AM   #3
LQ Newbie
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thankyou for the reply!

OK, using grub instead could be a solution.

I have tried making sym-links as in:

ln -s /dev/sda1 /dev/hda1

to the (linux) disk on computer 'A'. This makes it possible to get an item in the boot menu, however when trying to boot the item on 'B' the computer just resets.

Lilo probably needs to sense the correct address to the MBR on the Windows disk.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing slack 12 to 2nd hard drive, lilo question kenrich96 Slackware 2 09-27-2009 02:19 PM
lilo trashed, when booting from cd, lilo command is not present wakeboarder3780 Linux - Software 3 03-23-2006 05:02 PM
mozilla xpm kmenu item desktop item cjae Linux - Newbie 3 04-06-2005 07:11 AM
Installing Linux and LILO on a jump drive fatrandy13 Linux - Laptop and Netbook 2 07-22-2004 02:07 PM
How do I get rid of a LILO menu item?? enigma Z Linux - Software 3 09-25-2003 05:38 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration