Help - Search - Members - Calendar
Full Version: Newbie Screws Up Linux In Under 10 Mins
Linuxhelp > Support > Technical Support
dave_lange
I just installed SUSE 9.1 on a machine that also runs Win98.

I created some partitions as follows:

hda1 FAT32 Win98 boot
hda2 ReiserFS Linux boot
hdb1 FAT32 Win98 storage
hdb2 FAT32 Win98 swap
hdb3 Extended Linux
hdb5 Ext2 Linux (SUSE automatically set this up to be /usr)
hdb6 Swap Linux

I got it all working fine with no trouble.

Then I went into Windows, but I decided I'd take another look at the partition table so I quit to the DOS Prompt and ran Fdisk (The windows version). When Fdisk starts up it asks if you want to enable large drive support. I did so and took a look at the partitions. The linux extended partition containing /usr and the swap wasn't visible, but I assumed that Windows just didn't know what to do with this newer filesystem.

I quit and rebooted to Linux and... Oh no I can't get in. It can't seem to find /usr or the swap partition. I loged in as root and ran fdisk -l (the linux version). hdb3, hdb5 and hdb6 were nowhere to be found.

Somewhere in the MS Knowledgebase I found something saying "Don't enable large drive support when you're using other operating systems, you won't be able to see the partition if you do".

Crap.

Is there a way that I can get my partitions back?
Or do I have to reinstall?
Jim
If the only thing that changed is the partitions number for /usr it should be an easy fix.

Just get a copy of knoppix, that will alow you to boot up your system into a temp linux enviroment, from there you can edit your /etc/fstab file that tells your system where to mount what. You can use fdisk carefully to look at the partition table and figure it out. If you need more detailed instructions just ask.
dave_lange
I could be misinterpreting things here, but the problem isn't with how linux mounts the drive. It's that the partitions are no longer there.

fdisk -l looks something like this (sorry I can't cut & paste as I'm on another machine):
CODE

disk /dev/hdb 8.4 MB
16heads 63sectors 16383cylinders
units =cylinders of 1008 * 512 = 516096bytes

Device        Boot     Start          End            Blocks     ID   System
/dev/hdb1   *               1        7975        4019368+    C   W95 Fat32 (LBA)
/dev/hdb2              7976       90176          524664     C    W95 Fat32 (LBA)
/dev/hdb3              9017       16383        3712968      f    W95 Ext'd (LBA)
/dev/hdb5   ?    4119513   3969129   2071690107    f6     Unknown

What used be (before I screwed things up) was that hdb3 went to the end of the disk. It contained an EXT2 logical partition and a 512MB swap partition.

Is there I way that I can get those back?
michaelk
It is probably easier to reinstall. Somehow the extended partition table was corrupted.
Mr.2
what is the whole start end cylinder mean? i just bought red hat 9 and dont know what to put for mine
Device Boot Start End Blocks ID System
/dev/hdb1 * 1 7975 4019368+ C W95 Fat32 (LBA)
/dev/hdb2 7976 90176 524664 C W95 Fat32 (LBA)
/dev/hdb3 9017 16383 3712968 f W95 Ext'd (LBA)
/dev/hdb5 ? 4119513 3969129 2071690107 f6 Unknown
michaelk
Mr.2
Disk drive basics:
http://www.rwc.uc.edu/koehler/comath/42.html

If your asking how to install RH9 may I suggest starting a new thread. I also suggest reading the documentation on Redhat:
http://www.redhat.com/docs/manuals/linux/

Is this going to be a dual boot PC?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.