Why are you trying to partition a CDROM drive? -- Matt Sealey <matt at genesi-usa.com> Manager, Genesi, Developer Relations
> -----Original Message----- > From: powerpc-discuss-bounces at opensolaris.org > [mailto:powerpc-discuss-bounces at opensolaris.org] On Behalf Of > Dennis Clarke > Sent: Friday, October 28, 2005 8:24 AM > To: Blastware discussions; powerpc-discuss at opensolaris.org > Subject: [powerpc-discuss] Need to build a new parted to > handle partitionson the ODW > > FYI : > > The fdisk utility on Fedora Core 4 has no idea really how > to deal with the partitions on my Genesi ODW : > > [root at ppc ~]# fdisk /dev/hda > Device contains neither a valid DOS partition table, nor Sun, > SGI or OSF disklabel Building a new DOS disklabel. Changes > will remain in memory only, until you decide to write them. > After that, of course, the previous content won't be recoverable. > > > The number of cylinders for this disk is set to 4865. > There is nothing wrong with that, but this is larger than > 1024, and could in certain setups cause problems with: > 1) software that runs at boot time (e.g., old versions of LILO) > 2) booting and partitioning software from other OSs > (e.g., DOS FDISK, OS/2 FDISK) > Warning: invalid flag 0x0000 of partition table 4 will be > corrected by w(rite) > > Command (m for help): p > > Disk /dev/hda: 40.0 GB, 40020664320 bytes > 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders > of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > > Command (m for help): q > > > Also .. parted barely works but hits a bug with sector sizes > other than 512 bytes : > > > [root at ppc ~]# parted /dev/hda > GNU Parted 1.6.22 > 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 > (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/ > > > Dennis >
