[Techtalk] I lost my filesystem

Robyn Manning rmanning at adam.com.au
Tue Apr 15 01:27:39 EST 2003


A really quick and dirty way to fix this is in loading Redhat 8 again
get it to do an upgrade.

If you boot off the first Redhat cd it will eventually give you a
console with the command 

chroot /mnt/sysimage 

this will make your Linux active and changeable.

I don't know how grub works but the boot record on your first (Windows
2000) hard drive is looking for Linux partitions on hda. Can grub
rewrite the boot info like lilo does. If so boot of a Windows boot disk
and type 

fdisk /mbr

this will remove Linux from the boot record, then boot from the first
Redhat cd again, run chroot as above and get grub to rewrite the boot


On Mon, 2003-04-14 at 22:44, Hanlie Pretorius wrote:
> Hi,
> I'm fairly new to Linux and I use Redhat 8.
> I had one disk that I shared between Windows 2000 and Linux. I then got a
> new disk and loaded Linux on the second disk as well. I could see the old
> Linux partition and Windows from the second disk and everything worked fine.
> Then I used PartitionMagic in Windows to delete the old Linux partitions and
> I extended the Windows partition to cover the whole disk. From that time on
> the Linux boot sequence on the second disk stops where it tries to find my
> root file system (the second partition on my 2nd hard disk - hdb2). It then
> gives me the option to go to a shell and at that point I'm more or less in
> the same place as a rescue boot.
> Our systems administrators have looked at it and they say I've lost the
> label of the partition or GRUB doesn't know where the parition is. Although
> I can reload Linux on the second drive, I'd prefer to save everything that
> I've setup on it from oblivion.
> We've tried the following to solve the problem:
> * change fstab to remove references to hda but the whole system is in
> read-only mode and we can't save fstab (we can see the three partitions
> though)
> * change the label of hdb2 with fdisk and parted
> Can someone out there help me please? I feel very frustrated (and stupid!)
> Thanks
> Hanlie
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk

More information about the Techtalk mailing list