Results 1 to 8 of 8

Thread: Unbootable Dell - Must reinstall Lilo; how from CD?

  1. #1
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    13

    Unbootable Dell - Must reinstall Lilo; how from CD?

    Help!

    I'm an idiot. I can't boot my Dell. Here are the particulars: Dell Latitude D600 notebook. 40 gig hard drive with the following on it:

    [Lilo bootloader] WinXP_copy1, WinXP_copy2, Knoppix_on_HD, FAT_Data_Partition

    Here is what I did: I tried to use Norton Ghost to back up WinXP_copy1 while booted into WinXP_copy1. When you tell Ghost to backup, it seems to leave something on the MBR to tell itself to boot into some kind of virtual partition it creates. In the past I have imaged both copies of WinXP but always while booted into WinXP_copy2 - so it didn't damage Lilo. This time, for no reason in particular, I tried to ask the 'copy1' Ghost to do it, and when I boot all I get is

    "Missing Operating System"

    I also tried to load Partition Magic and as has happened in the past, it says it can't even read the partition table (this usually means that I have trashed the MBR somehow).

    The good news is a still have my Knoppix live CD available. Question: given that I need to reinstall Lilo, is there any way to do it from the Knoppix live CD?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    You are correct. Using Ghost from within WindowsXP will make Ghost edit the boot.ini and perhaps even edit the MBR.

    Boot with the Knoppix CD. I use cheatcodes
    Code:
    knoppix 2 vga=normal
    but you can boot up however you see if. Gain root access
    Code:
    su -
    Mount the Knoppix HD install partition (I will assume it is /dev/hda3)
    Code:
    mount -t ext3 /dev/hda3 /mnt/hda3
    Run lilo with the following extensions to put lilo back into the MBR as you bootloader.
    Code:
    lilo -v -C /mnt/hda3/etc/lilo.conf -r /mnt/hda3
    If that was successful, unmount the Knoppix HD partition
    Code:
    umount /mnt/hda3
    Then reboot the PC from the KDE menu or use the command:
    Code:
    init 6
    If the MBR and the partition tables is totally trashed then a program that is included on the Knoppix disk, gpart http://www.stud.uni-hannover.de/user/76201/gpart/, can be a real life saver.
    If anything goes wrong, either me or someone else can help you.
    James

  3. #3
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    13

    THANKS!!!

    Thanks a million! I will print out your instructions and post back either way for the benefit of others.

  4. #4
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    13

    "No such file or directory"

    It looks like my system as the Knoppix install as hda5. I was able to mount if find but when I tried

    lilo -v -C /mnt/hda5/etc/lilo.conf.....etc

    The system returned "/mnt/hda5/etc/lilo.conf no such file or directory"

    The really strange part is that if I

    cat /mnt/hda5/etc/lilo.conf

    I get a full read out of the file and ls sees it too. Any ideas?

    Edits: I also do not see the FAT data partition as being available at all for mounting, and there is an hda4 that is unmountable for some reason (the system says it doesn't understand the file system type).

    Edit: I ran gpart and it shows the two Windows NTFS partitions, and a DOS partition, but then shows a 4th partition as being unused - presumably this is the Linux (or was!)

    Looks like I trashed my partition table pretty good eh? I had quite a few hours in my Knoppix HD installation so I'd like to recover if it possible but this look bleak, doesn't it? I'm more concerned about recovering the first of the Windows XP partitions since the school customized that copy of Windows quite a bit. Would the Windows rescue disk and FixMBR be likely to at least get me back into Windows at this stage to cover that partition or am I hosed?

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: Unbootable Dell - Must reinstall Lilo; how from CD?

    Quote Originally Posted by jeopardyracing
    .... it says it can't even read the partition table (this usually means that I have trashed the MBR somehow). ....
    I'm not sure about lilo, would trust James for that. But you could put a Microsoft MBR back on the disk's MBR by booting a recovery floppy and typing the command "fdisk /MBR". I rather afraid that it could be more than the MBR that is damaged, but if it's only that then this would get Windows back and you would at least know where you stand in trying to get lilo reinstalled.

    I would also think you might look to Norton for some support on this, it seems likely that they have run across it a time or two before.

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Hmmmm try this as another way of acccessing lilo:
    Gain root access
    Code:
    su -
    Mount the Knoppix HD install partition
    Code:
    mount -t ext3 /dev/hda5 /mnt/hda5
    Chroot into the Linux partition:
    Code:
    chroot /mnt/hda5 /bin/bash
    Then run lilo
    Code:
    /sbin/lilo
    If either the chroot fails or the lilo fails, then there is probably something wrong with the partition table.

  7. #7
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    13

    Think I'm sunk

    Yeah, tried that too and got the same result - no such file or directory

    I even tried to create a symbolic link to the file before I tried chroot, same result. I also used cp to copy it to / (again prior to chroot) and had the same result.

    Rats! Lots of hours configuring Knopp lost. Good thing I kept good notes. Maybe this is my reason to upgrade to 3.7.

    Edit: tried the Windows rescue CD and one copy of Windows couldn't recognize my admin password while another did. It didn't understand fdisk /MBR but it did understand FIXBOOT. Nothin' doing though: when I tried to reboot all I got was a message "NTLDR Missing."

    Thanks very much for your help everyone. And guess what: I backed up all my user data last night to my Mac (on which I am working now) so no user data was lost in the accident, just 3 operating systems. I really had Knopp 3.6 running well too - even had updated the wireless drivers.

    For the benefit of others: stay away from Norton Ghost when using a Knoppix / WinXP dual boot! It does work okay if the 2nd of two Windows copies takes the image, but not if the first does (for whatever mysterious reason).

    Time to reimage the drive.

  8. #8
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    You could try parted, qtparted, cfdisk or Linux fdisk from the Knoppix CD to repair the partition table. No guarantees of results though. I don't use Norton at all any more since it tends to overpower everything else...but then I hardly ever use Windows any more so (and never on line with it) so I can get away without all Norton's backup stuff & virus protection.

Similar Threads

  1. 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
  2. qtparted, then windows XP sp2 unbootable.. a new trend?
    By binary1230 in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 02-04-2005, 05:43 PM
  3. Retrieving Data from unbootable H/Drive
    By mizou in forum General Support
    Replies: 1
    Last Post: 08-07-2003, 05:08 AM
  4. need to reinstall lilo
    By LukeGraham in forum General Support
    Replies: 1
    Last Post: 08-03-2003, 09:38 AM
  5. Need to reinstall lilo - don't have boot-disk...
    By Sebastian in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 05-22-2003, 05:06 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
  •  


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



Samsung 870 EVO Series 500GB 2.5

Samsung 870 EVO Series 500GB 2.5" SATA III Internal SSD MZ-77E500B/AM New Sealed

$59.00



SSDSC2BA800G3P Intel SSD DC S3700 Series 800GB 6Gb/s 2.5'' SATA SSD picture

SSDSC2BA800G3P Intel SSD DC S3700 Series 800GB 6Gb/s 2.5'' SATA SSD

$79.00



DT8XJ Dell Intel DC S3700 800GB SATA 6Gb/s 2.5

DT8XJ Dell Intel DC S3700 800GB SATA 6Gb/s 2.5" SSD 0DT8XJ SSDSC2BA800G3R

$59.00



Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item picture

Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item

$16.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe picture

Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe

$5.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$197.99