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
  •  


RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro picture

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro

$81.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$60.00



Lot of 12 Non-Working Samsung Galaxy Tablets with BAD LCD for Parts picture

Lot of 12 Non-Working Samsung Galaxy Tablets with BAD LCD for Parts

$381.38



Samsung 870 EVO 4TB 2.5

Samsung 870 EVO 4TB 2.5" SATA III Internal SSD (MZ-77E4T0B/AM)

$310.00



RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2 picture

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2

$81.99



Samsung PM961 512GB PCIe Gen 3x4 NVMe 2280 M.2 SSD MZVLW512HMJP-000D1 picture

Samsung PM961 512GB PCIe Gen 3x4 NVMe 2280 M.2 SSD MZVLW512HMJP-000D1

$60.00



RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4 picture

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4

$93.99



Samsung 8GB DDR5 5600MHz SODIMM Laptop RAM PC5-44800 CL46 M425R1GB4BB0-CWM picture

Samsung 8GB DDR5 5600MHz SODIMM Laptop RAM PC5-44800 CL46 M425R1GB4BB0-CWM

$99.99



Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" Tablet SM-X200 (Gray 32GB) Wifi CRACKED

$41.93



Samsung Galaxy Tab S7 FE 5G SM-T738U 12.4

Samsung Galaxy Tab S7 FE 5G SM-T738U 12.4" Tablet Gray 64GB T-Mobile CRACKED

$82.68