View Poll Results: Who thinks this is the stupidest question they have seen so far ?

Voters
6. You may not vote on this poll
  • Yes

    3 50.00%
  • No

    3 50.00%
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: LILo problem

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    5

    LILo problem

    hey i am having a problem with the Lilo bootloader.
    i had it all working fine with knoppix and win2k but then i tried to install windows XP and now it auto loads to windows. I had a friend install linux for me and i dont really have much idea on how to configure it. any help would be appreciated.

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    When you installed XP it overwrote the MBR on your HD, so now lilo is gone and you have to put it back:

    - boot the Knoppix CD
    - start konsole
    - su
    - mount /mnt/hdXY (XY=your linux / device and partition)
    - chroot /mnt/hdXY
    - lilo -v (or /sbin/lilo -v)
    - Ctrl-d (three times to exit chroot, su and konsole)
    - done

  3. #3
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Try this, boot using knoppix cd, open kosole as SU:

    mount /dev/hdxx /mnt **xx=your linux partition on hdd
    ROOT=/mnt/mnt/sbin/lilo

    or

    moount /dev/hdxx /mnt/hdxx
    chroot /mnt/hdxx
    lilo


  4. #4
    Junior Member
    Join Date
    Sep 2004
    Posts
    5

    lilo

    ok i tried this :

    - boot the Knoppix CD
    - start konsole
    - su
    - mount /mnt/hdXY (XY=your linux / device and partition)
    - chroot /mnt/hdXY
    - lilo -v (or /sbin/lilo -v)
    - Ctrl-d (three times to exit chroot, su and konsole)
    - done

    but when i did the chroot thing it said it cant be found in the /etc/bash i think it was. plus i dont know what konsole is
    and su ???

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323

    Re: lilo

    Quote Originally Posted by JCComputers
    but when i did the chroot thing it said it cant be found in the /etc/bash i think it was.
    This could mean you chose the wrong XY. Where did you install Linux? If ie. hda5, you should type: chroot /mnt/hda5

    plus i dont know what konsole is and su ???
    Konsole is a terminal, as in console, it's probably where you typed the commands. Su makes you root (Admin)

    If it doesn't work , try mount like Shah said: mount /dev/hdxy /mnt/hdxy

  6. #6
    Junior Member
    Join Date
    Sep 2004
    Posts
    5

    LIlo

    Ok i have got that sorted but after i have edited the lilo.conf file and then i rerun lilo it says something like "hda1(mbr to my knowledge) is read only.

    hda1 - Win 2000 and (mbr)
    hda2
    hda3 - Linux
    hda4 - XP Home
    hda5

    the other two are for data storage.

  7. #7
    Junior Member
    Join Date
    Sep 2004
    Posts
    5

    LIlo

    ok here is the error messages i get wanted to be a bit more specific

    I run lilo after edit
    =Fatal : open /dev/hda1 : permission denied

    when i try and mount hda1

    =mount :cannot mount block device /dev/hda1 read only

    any help will be appreciated.

  8. #8
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Try:
    mount -o dev /dev/hda1 /mnt/hda1
    chroot /mnt/hda1
    lilo

  9. #9
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    A 'who' question can't be answered 'yes' or 'no'.

  10. #10
    Junior Member
    Join Date
    Sep 2004
    Posts
    5

    Still no luck

    my mbr is on hda1
    i edit everything right but when i run lilo it says: /dev/hda1 permission denied i have no idea why. i have tried the command : mount -rw /dev/hda1

Page 1 of 2 12 LastLast

Similar Threads

  1. Having problem with lilo
    By greyshark in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-24-2005, 08:00 PM
  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. Lilo problem ( Another )
    By Syslog in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 12-18-2003, 07:20 PM
  5. Lilo Problem
    By Xylene in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 08-12-2003, 12:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •