bug-parted
[Top][All Lists]
Advanced

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

Bug in parted 1.6.19 : CDROM with SunOS disklabel and UFS partitions


From: Marc Hufschmitt
Subject: Bug in parted 1.6.19 : CDROM with SunOS disklabel and UFS partitions
Date: Sun, 10 Dec 2006 00:03:50 +0100

Hello

I didn't achieved to read a Solaris Install CD partition. below I cut the fdisk -l execution and parted execution for details

  Marc



$ fdisk -l /dev/scd0
Note: sector size is 2048 (not 512)

Disk /dev/scd0 (Sun disk label): 1 heads, 640 sectors, 2048 cylinders
Units = cylinders of 640 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/scd0p1   r         0      1685    539200    4  SunOS usr
/dev/scd0p2   r      1685      1846     51520    2  SunOS root
/dev/scd0p3          1846      1851      1600    0  Empty
/dev/scd0p4          1851      1856      1600    0  Empty
/dev/scd0p5          1856      1861      1600    0  Empty
/dev/scd0p6          1861      1866      1600    0  Empty


$ parted  /dev/scd0
Warning: Unable to open /dev/scd0 read-write (Read-only file system). /dev/scd0 has been opened read-only. You found a bug in GNU Parted. Please email a bug report to bug- address@hidden containing the version (1.6.19), and the following message:

The sector size on /dev/scd0 is 2048 bytes. Parted is known not to work properly with drives with sector sizes other than 512 bytes.
Use 2048 sector size?
Yes/No? yes
Warning: Unable to open /dev/scd0 read-write (Read-only file system). /dev/scd0 has been opened read-only.
GNU Parted 1.6.19
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Using /dev/scd0
(parted) help
  check MINOR                   do a simple check on the filesystem
cp [FROM-DEVICE] FROM-MINOR TO-MINOR copy filesystem to another partition
  help [COMMAND]                prints general help, or help on COMMAND
mklabel LABEL-TYPE create a new disklabel (partition table) mkfs MINOR FS-TYPE make a filesystem FS-TYPE on partititon MINOR
  mkpart PART-TYPE [FS-TYPE] START END      make a partition
mkpartfs PART-TYPE FS-TYPE START END make a partition with a filesystem
  move MINOR START END          move partition MINOR
  name MINOR NAME               name partition MINOR NAME
print [MINOR] display the partition table, or a partition
  quit                          exit program
rescue START END rescue a lost partition near START and END
  resize MINOR START END        resize filesystem on partition MINOR
  rm MINOR                      delete partition MINOR
  select DEVICE                 choose the device to edit
  set MINOR FLAG STATE          change a flag on partition MINOR
(parted) print
Warning: The disk CHS geometry (18,255,63) does not match the geometry stored on the disk label (2048,1,640).
Ignore/Cancel? c
(parted) check
Warning: The disk CHS geometry (18,255,63) does not match the geometry stored on the disk label (2048,1,640).
Ignore/Cancel? i
Warning: The disk label describes a disk bigger than /dev/scd0.
Ignore/Cancel? i
Error: Can't have a partition outside the disk!
Error: Can't have a partition outside the disk!
Error: Unable to satisfy all constraints on the partition.
Error: Can't have the end before the start!
(parted) q







reply via email to

[Prev in Thread] Current Thread [Next in Thread]