Results 1 to 5 of 5

Thread: lilo problem

  1. #1
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    19

    lilo problem

    I just got a new computer, and partitioned hda1 for windows, hda2 for linux. I installed debian on hda2 (which installed lilo and created a lilo.conf that boots directly into it). I then installed windows xp pro on hda1. After I installed windows it boots directly into windows. I would like to set lilo up so I can choose between them.

    I booted into the cd and typed lilo,
    It asks me to edit the /etc/lilo.conf, and ive know idea what to put there.
    There is already a lilo.conf in hda2, so I added:

    other=/dev/hda2
    label=Windows

    at the end and left the rest unchanged. I then ran:

    lilo -C /mnt/hda2/etc/lilo.conf

    And it says:

    Fatal: /boot/map~ Read only file system.

    I would try using some more options on lilo, but I really dont want to mess up anything. Can anyone give me some easy to follow instructions to set lilo up after booting from the knoppix cd? Im real confused by it and I cant find a tutorial anywhere.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Check out the lilo manpage. It shows that the -r root-directory argument makes lilo chroot to the directory specified. What is happening is that lilo is trying to write to the knoppix CDR which is the boot device. The CDR is showing the root / , /boot & /etc as read-only. By using the -r option, you can tell it to ignore the existing / off the CD and use /mnt/hda2 as the new root.
    I hope this helps.
    James

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Location
    Kampen, The Netherlands
    Posts
    166
    The easiest way to configure a dual boot system is to start with the install of WinXP and Knoppix after that (in my opinion). This way you automatically obtain the option in lilo for booting one of the two operating systems. No configuring of lilo is needed this way (remember it when you have to set a dual boot again in future).

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    How to booting linux using ntloader:
    http://www.prosig.com/protor/kbase/NT-Linux-boot.html

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    Re: lilo problem

    Quote Originally Posted by tw
    other=/dev/hda2
    label=Windows

    at the end and left the rest unchanged. I then ran:

    lilo -C /mnt/hda2/etc/lilo.conf
    That's inconsistent, since you've told us that hda1 holds windows. Boot with "knoppix 2 noswap", "mount /mnt/hda2", "mcedit /mnt/hda2/lilo.conf", make sure you specify hda1 in the "other" section for windows, "lilo -v -r /mnt/hda2". Pay attention to possible error messages, then run cfdisk and make sure hda2 is the (only) partition marked active/bootable. On reboot lilo will have two entries for linux and windows.

    The alternative, as shah suggested, is to copy your hda2 boot sector and add an entry for it to c:\boot.ini.

Similar Threads

  1. LILo problem
    By JCComputers in forum Hdd Install / Debian / Apt
    Replies: 10
    Last Post: 09-30-2004, 07:19 AM
  2. LILO problem
    By shadinio in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 03-14-2004, 05:07 PM
  3. lilo Problem
    By saden1 in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 01-29-2004, 07:12 PM
  4. New LILO 99 problem
    By sonic20 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 07-31-2003, 04:57 AM
  5. Lilo problem
    By milenbo in forum General Support
    Replies: 1
    Last Post: 03-04-2003, 08:21 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
  •  


WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ picture

Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ

$96.99



Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5

Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$268.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



2TB 3.5

2TB 3.5" HDD Sata Mixed Brands hard drive Tested Formatted

$18.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.34