On Fri, Oct 28, 2005 at 09:24:25AM -0400, Dennis Clarke wrote:
> FYI :
> Also .. parted barely works but hits a bug with sector sizes other
> than 512 bytes :

Its not a bug but a feature, and you are warned about it :)

> [root at ppc ~]# parted /dev/hda
> GNU Parted 1.6.22

Ah, please use 1.6.24, or even 1.6.25 which i will release this WE.
/me wearing the parted upstream maintainer hat :)

> Copyright (C) 1998 - 2005 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/hda
> (parted) print
> Disk geometry for /dev/hda: 0.000-38166.679 megabytes
> Disk label type: amiga
> Minor    Start       End     Filesystem  Name                  Flags
> 1          2.000     99.975              dhx                   boot
> 2         99.976    199.951  ext3        dhx
> 3        199.951  38166.679              dhx                   lvm
> (parted) select /dev/hdc
> Warning: Unable to open /dev/hdc read-write (Read-only file system).  /dev/hdc
> has been opened read-only.
> You found a bug in GNU Parted.  Please email a bug report to
> bug-parted at gnu.org containing the version (1.6.22), and the following
> message:
> 
> The sector size on /dev/hdc is 2048 bytes.  Parted is known not to work 
> properly
> with drives with sector sizes other than 512 bytes
> Ignore/Cancel? Cancel
> Warning: Unable to open /dev/hdc read-write (Read-only file system).  /dev/hdc
> has been opened read-only.
> Using /dev/hdc

Well, /dev/hdc is the cdrom drive, so what do you expect ? Are you trying to
partition a CD ?

> (parted) print
> Disk geometry for /dev/hdc: 0.000-642.914 megabytes
> Disk label type: mac
> Minor    Start       End     Filesystem  Name                  Flags
> 1          0.000      0.001              Apple
> 2          0.008    642.621              PBOOT
> (parted) quit
> Information: Don't forget to update /etc/fstab, if necessary.
> 
> I am looking at parted-1.6.24 now and working to get GRUB2 onto a
> secondary harddisk such that I can boot a ported OpenSolars kernel
> from a secondary disk.  I have GRUB 1.91 working ( more or less ) on
> my Genesi ODW now and the pictures can be seen of various things here
> :
> 
> 
>     http://www.blastwave.org/dclarke/grub/grub_1.91/

Mmm, maybe you expected to find a second harddisk but found the cdrom ?

Friendly,

Sven Luther


Reply via email to