Problem with fdisk/woody
Hello,
I have a problem with fdisk on my Ultra 10. My system is a woody debian,
with kernel 2.2.18pre21, fdisk from util-linux 2.10q-1.
At the installation, I have create only 2 partitions : hda1 with 2GB
ext2 for root, and hda2 with 128 MB for swap. (OK, I have also hda3
which is the Whole disk).
Now, as the system boot OK, and the network is also OK after updating
ifupdown to 0.6.4-3, I'm trying to make a user partition with the
rest of the disk. Here is the way I do it :
cool:~# fdisk /dev/hda
Command (m for help): p
Disk /dev/hda (Sun disk label): 16 heads, 63 sectors, 17660 cylinders
Units = cylinders of 1008 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 0 4112 2072448 83 Linux native
/dev/hda2 u 4112 4372 131040 82 Linux swap
/dev/hda3 0 17660 8900640 5 Whole disk
Command (m for help): n
Partition number (1-8): 4
First cylinder (4372-17660): 4372
Last cylinder or +size or +sizeM or +sizeK (4372-17660, default 17660):
Using default value 17660
Command (m for help): p
Disk /dev/hda (Sun disk label): 16 heads, 63 sectors, 17660 cylinders
Units = cylinders of 1008 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 0 4112 2072448 83 Linux native
/dev/hda2 u 4112 4372 131040 82 Linux swap
/dev/hda3 0 17660 8900640 5 Whole disk
/dev/hda4 u 4372 17660 6697152 83 Linux native
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Re-read table failed with error 16: Device or resource busy.
Reboot your system to ensure the partition table is updated.
Syncing disks.
cool:~#
Unfortunatly, rebooting the system don't work : after the reboot, the
newly partition don't exist. I want to make a new partition, and than
mkfs.ext2 it and use it. How ?
Thanks in advance for the help.
Olivier
--
Olivier Bornet | français : http://puck.ch/f
Swiss Ice Hockey Results | english : http://puck.ch/e
http://puck.ch/ | deutsch : http://puck.ch/g
Olivier.Bornet@puck.ch | italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://wwwkeys.pgp.net
Reply to: