Click to See Complete Forum and Search --> : Partition woes on an Ultra 5


garskoci
07-02-2003, 10:43 PM
I just did a fresh install on an Ultra 5(Sun). Well, somehow I skrogged my harddisk. I turned my 8.4gig drive into a 2gig drive. My guess is that I hosed while attempting to partition the drive.
Here's the output from fdisk -l. Is there anything that I can do? I don't have anything on the system, so I can re-install.
Thanks.


Disk /dev/hda (Sun disk label): 67 heads, 62 sectors, 1015 cylinders
Units = cylinders of 4154 * 512 bytes

Device Flag Start End Blocks Id System
/dev/hda1 0 991 2058307 83 Linux native
/dev/hda2 u 991 1015 49848 82 Linux swap
/dev/hda3 0 1015 2108155 5 Whole disk

michaelk
07-03-2003, 07:45 AM
It appears that /dev/hda3 filesystem type is not set to linux i.e. 83

You can delete it and recreate it using the rest of the disk. Then move directories to the partition.

Or just reinstall if you want to competely change the partition scheme.

garskoci
07-03-2003, 10:27 AM
If I re-install and set up multiple partitions, does Linux generally spread the filesystem across the partitions or will it want to install everything in one.? (plus swap) I'm a partition numb-nut. I get the concept.... but it's a bit different than Sun's partitioning scheme.

mdwatts
07-03-2003, 10:55 AM
If you only create a single root '/' partition, then yes everything will be installed there.

Most distros have 'expert' mode of install which allows you to customize your partition layout (multiple mountpoints) for root '/', /usr, /var, /boot etc.

A little more info

http://www.linuxplanet.com/linuxplanet/tutorials/4269/4/

garskoci
07-03-2003, 01:44 PM
Thanks! Just what I need. I'll try it tonight.