Issues trying to partition a USB drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List;

I have a 320G SATA drive that used to have Fedora 8 on it, I no longer need it as a main Linux drive so I want to use is as USB storage.

However I'm having issues trying to fdisk the drive into a single partition. 

Here's what I did :
1) put the drive in a USB 2.0 enclosure
2) plugged the USB into my Fedora box
3) as root ran 'fdisk /dev/sdb'
4) removed all partitions on the drive and wrote the changes

5) rebooted my Fedora box
6) ran 'fdisk /dev/sdb' again

at this point I get this if I print the partition table:

Command (m for help): p

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000733a


7) added a single partition: 
  - choose 'p' for primary partition   
  - choose '1' for partition number
  - choose '1' for the first cyllinder
  - choose '38913' for the last cyllinder

Like this:

Command (m for help): n
Command action
  e   extended
  p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-38913, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-38913, default 38913): 38913


8) wrote the changes (w) 
9) I went back into fdisk and printed the partition table:

Command (m for help): p

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000733a

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       38913   312568641   83  Linux


10) rebooted the Fedora box again

11) plugged in the USB drive

KDE asks what to do - I say open in a new window.
What I see is the data from my old /boot file system

Also now if I do a 'df -h' I see the second (USB) drive as only the size of the old /boot file system (1.9G) not the 320G I expect to see:

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                             48G   35G   11G  77% /
/dev/sda1             190M   19M  162M  11% /boot
tmpfs                    506M  364K  505M   1% /dev/shm
/dev/sdb1             1.9G   52M  1.8G   3% /media/-boot1


What am I doing wrong ?

Thanks in advance...

/Kevin
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux