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
  •  


2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) - picture

Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) -

$41.53



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$449.96



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$674.96



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L picture

IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L

$599.95



IBM 8247-21L S812L 10-core 3.42 GHz 128GB 2x 300gb 12x SFF Power8 Linux Server picture

IBM 8247-21L S812L 10-core 3.42 GHz 128GB 2x 300gb 12x SFF Power8 Linux Server

$649.00



Ubuntu 22.04.3 Desktop, Server, and Studio DVD Set SAME DAY SHIPPING picture

Ubuntu 22.04.3 Desktop, Server, and Studio DVD Set SAME DAY SHIPPING

$7.49



Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$836.80