You are not logged in.

#1 2010-03-06 00:40:55

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Move/Rename partition from sda to sda1

A lonnnnnng time ago I wiped a disk with fdisk and formatted it with mkfs.ext3, but forgot to create a partition when using fdisk.

The drive mount's fine, but I mount it like this: mount /dev/sdc /mnt/drive

There is no sdc1,sdc2.....

Anyone know how I can somehow move this to be sdc1 without losing data???

Offline

#2 2010-03-06 06:36:45

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Move/Rename partition from sda to sda1

*lol* There is no way you can 'rename' the drive - when you made the filesystem you hosed the partition table.
If you run fdisk now, you'll hose your filesystem!

So - back up all files, use 'fdisk' to set up partition(s), make filesystem(s) on partition(s) and then restore your files

A 1TB usb-disk can be had for 100 bucks these days - it's a no-brainer!!

Last edited by perbh (2010-03-06 06:38:01)

Offline

Board footer

Powered by FluxBB