Results 1 to 7 of 7

Thread: Trashed my Lilo

  1. #1
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11

    Trashed my Lilo

    Hi,

    I dual boot b/w XP HOme on /dev/hda1 and knoppix 3.6 on /dev/hda6 (ext3).

    The LILO that comes with knx2hdd with 3.6 version has really bad colors, so i decided to use NTLDR to load linux. i followed the steps correctly, made a bootsect.lnx... and so on. but then i did not add entry to boot.ini as of yet. just then isaw that knoppix include GRUB. so, uninstallinh lilo from /dev/hda6 i did a grub-install. grub just didnt work, it shows a blank screen with no options - i tried changing timeout and everything - to no avail. so know devoid of grub as well as lilo i cannot boot into linux at all. i tried using knoppix cd and chrooting to /dev/hda6 didnt work and running lilo command gave some error about /boot not being writable!! i am really screwed. i have bootsect.ln - but its of no use as theres no lilo in /dev/hda6. PLEASE HELP. thankx.
    also, as a bonus could someone help me with installing grub too? i will be posting lilo.conf and menu.lst shortly, in about 4 days, as i am not near my computer. which is better - lilo or grub?

    rohan.

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    NTLRD can't boot linux so when you copy the bootsect and add it to boot.ini you get to choose windows or linux in NTLRD, when you choose linux then next thing you see is lilo.
    Grub is said to be better, although I use lilo out of habit.

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: Trashed my Lilo

    You should be able to start your Knoppix HD installation by booting from the CD with the following bootcode:
    knoppix root=/dev/hda6 noinitrd ro
    Then, open a terminal & type 'sudo lilo' to reinstall lilo.

  4. #4
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11
    hello,

    crashedagain: will try and let u know, as i am away from my computer for 2 days.

    markus: for reference its NTLDR, nor NTLRD. tho it duoesnt matter since linux rocks.

    thankx for the help guys.
    rohan.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    If you saved that bootsector (first 512 bytes from your hda6 root FS) and you did not instruct lilo to install to MBR, then you should still be able to add an entry pointing to it in c:\boot.ini, eg "c:\bootsect.lnx="knoppix" under the "[operating systems]" section.

  6. #6
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11
    hello,

    @baldyeti: i have neither installed lilo to hda(mbr) nor to hda6(linux partition). are u sure it will work, becuase ntldr, as far as i know, doesnt support direct booting into linux kernels? i am not sure, tho i will try! thanks.

    rohan.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    I thought you had initially installed lilo to your root FS ("boot=/dev/hda6" in lilo.conf), copied the resulting boot sector (with "dd if=/dev/hda6 of=bootsect.lnx count=1"), but then that sector got overwritten by your grub install attempt. If that is the case, adding the entry I mentioned before to boot.ini is worth trying. The worst that can happen is that you won't be able to boot knoppix (in which case you will need to install either lilo or grub from CD), but that won't affect windows...

Similar Threads

  1. RH7.3 trashed after Knoppix live CD
    By mnow in forum Hardware & Booting
    Replies: 0
    Last Post: 08-25-2005, 10:09 AM
  2. Reinstall lilo to hda, using hda lilo.conf and knoppix live
    By tomjermy in forum Hardware & Booting
    Replies: 1
    Last Post: 03-17-2005, 01:07 AM
  3. help with LILO [again]
    By bob58 in forum General Support
    Replies: 9
    Last Post: 12-04-2004, 06:08 AM
  4. lilo vs. gag
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 10-17-2003, 06:26 PM
  5. LILO woe
    By Wazz in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 08-22-2003, 02:29 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
  •  


Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell PowerEdge R730 16-Bay 2.5” 2xE5-2695 v3 2.3Ghz 64GB iDRAC8 Ent H730 2x750W picture

Dell PowerEdge R730 16-Bay 2.5” 2xE5-2695 v3 2.3Ghz 64GB iDRAC8 Ent H730 2x750W

$250.00



Dell PowerEdge R720xd 26HDD 300gb  2.5-inch E5-2697  X 2CPU 384RAM 7.2 Tb HDD  picture

Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 

$180.00



Dell Poweredge R730xd 12 Bay LFF 2x SFF  2x E5-2680v3 2.5ghz H730p No Ram No HDD picture

Dell Poweredge R730xd 12 Bay LFF 2x SFF 2x E5-2680v3 2.5ghz H730p No Ram No HDD

$219.99



Dell R630 8 SFF Server 2x E5-2650 V4 2.2GHz = 24 Cores 64GB DDR4 SATA Only 1x PS picture

Dell R630 8 SFF Server 2x E5-2650 V4 2.2GHz = 24 Cores 64GB DDR4 SATA Only 1x PS

$243.20



Dell PowerEdge R730XD Server 2x E5-2680 V4 = 28 Cores H730 64GB RAM 2x 6TB SAS picture

Dell PowerEdge R730XD Server 2x E5-2680 V4 = 28 Cores H730 64GB RAM 2x 6TB SAS

$574.99



DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$226.00



DELL PowerEdge R630 8SFF Server 2x E5-2697v3 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2697v3 2.6GHz =28 Cores 128GB H730 4xRJ45

$352.00