Hello folks,

Somehow, something is messy in my hard disk and I can't boot into Linux anymore.
First, I'll give you a little information that I hope will be useful if you're
wishing to help me...

Some months ago, I installed FreeBSD into a friends house, in another hard disk
he gave me (640 MB), which I use now just to store mp3's and other stuff. When
installing FreeBSD, it installed the FreeBSD Boot Loader (I guess they call it
BPX), so the boot looks like this to me:

F1 ?? (my swap partition: hda1)
F2 Linux (hda2, my entire Linux system)
F5 Drive 1 (hdb)

Boot:

It used to work fine, I could just press F2 and get the LILO prompt. Now, for
any key I press, the computer starts beeping until I turn it off (sounds like a
time bomb!). So I took my hard disk (the 2 GB one) to this friend's house, to
see if he could help me. We plugged the drive, ran e2fsck, and everything was
ok, then mounted the disk - no problems at all, no data loss. I didn't have
potato's root & boot disks (which is the only easy way I know to get LILO
installed in the MBR), so I went home, now sure that my disk *is* ok, and tried
to install LILO into the MBR, thru Debian's installation, but it did not work
(read below). Then I ran fdisk. Here is the output:

# fdisk /dev/hda

Command (m for help): p

Disk /dev/hda: 64 heads, 63 sectors, 1023 cylinders
Units = cylinders of 4032 * 512 bytes
   
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        33     66496+  82  Linux swap
/dev/hda2            34      1023   1995840   83  Linux
Partition 2 has different physical/logical endings:
     phys=(1021, 63, 63) logical=(1022, 63, 63)

Command (m for help): v
Partition 2 has different physical/logical endings:
     phys=(1021, 63, 63) logical=1022, 63, 63)
Partition 2: previous sectors 4124735 disagrees with total 4120703
62 unallocated sectors

Obviously, something is wrong, but I dont't know how to fix it. If you have any
ideas, please, send a reply to my address ([EMAIL PROTECTED]), because I am
not subscribed to the list. Thank you very much.

BTW, I have tried to boot using a boot disk made with dd ("dd if=/vmlinuz
of=/dev/fd0"). The kernel was 2.2.10. This is what happened:

(...)
Partition check:
hda: hda1 hda2
hdb: hdb1
(...)
Kernel panic: VFS: Unable to mount root fs on 03:01

Thanks again,
Carlos H.S. Laviola


Reply via email to