Bug 174675
Summary: | Write ext3 fs to usb hard drive gives invalid partition table | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike Cohler <mdc1> |
Component: | e2fsprogs | Assignee: | Thomas Woerner <twoerner> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | kzak, sct |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-12-01 11:43:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mike Cohler
2005-12-01 10:31:25 UTC
Please, be careful with fdisk option. You have to use it for device (/dev/sda) and no for subset of the device (partitions). For example: # fdisk -l /dev/hdb Disk /dev/hdb: 41.1 GB, 41174138880 bytes 16 heads, 63 sectors/track, 79780 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 79752 40194598+ 83 Linux # fdisk -l /dev/hdb1 Disk /dev/hdb1: 41.1 GB, 41159268864 bytes 16 heads, 63 sectors/track, 79751 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Disk /dev/hdb1 doesn't contain a valid partition table ^^^^^^^^^^^^^^ because it isn't disk! To be honest the (s)fdisk command is deprecated and it's better to use the parted command: # parted /dev/hdb print Disk geometry for /dev/hdb: 0.000-39266.718 megabytes Disk label type: msdos Minor Start End Type Filesystem Flags 1 0.031 39252.568 primary ext3 boot Information: Don't forget to update /etc/fstab, if necessary. # parted /dev/hdb1 print Disk geometry for /dev/hdb1: 0.000-39252.537 megabytes Disk label type: loop Minor Start End Filesystem Flags 1 0.000 39252.537 ext3 Information: Don't forget to update /etc/fstab, if necessary. Closing as NOTABUG. Gee, thanks for responding so quickly - I feel duly humbled by my lack of knowledge on this. Best wishes Mike |