Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Newbie Screws Up Linux In Under 10 Mins, dissabled partition containing /usr
dave_lange
post Sep 8 2004, 06:07 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 8-September 04
Member No.: 3,732



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?
Go to the top of the page
 
+Quote Post
Jim
post Sep 8 2004, 11:24 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



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.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
dave_lange
post Sep 9 2004, 12:33 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 8-September 04
Member No.: 3,732



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?
Go to the top of the page
 
+Quote Post
michaelk
post Sep 9 2004, 06:30 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



It is probably easier to reinstall. Somehow the extended partition table was corrupted.
Go to the top of the page
 
+Quote Post
Mr.2
post Sep 14 2004, 04:22 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 14-September 04
Member No.: 3,772



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
Go to the top of the page
 
+Quote Post
michaelk
post Sep 14 2004, 04:43 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



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?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 11:30 PM