fdisk partitions not sticking around after boot...
I realize the write error is somewhat normal but after reboot the
partition isn't there. Thoughts? Things I should try? This is on a U2.
boaz:~# uname -a
Linux boaz 2.4.19 #1 SMP Sat Oct 5 16:03:12 EDT 2002 sparc64 unknown
unknown GNU/Linux
boaz:~# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda (Sun disk label): 64 heads, 32 sectors, 8681 cylinders
Units = cylinders of 2048 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 0 3072 3145728 83 Linux native
/dev/sda2 u 3072 4096 1048576 83 Linux native
/dev/sda3 4096 4608 524288 83 Linux native
Command (m for help): n
Partition number (1-8): 4
First cylinder (4608-8681): 4608
Last cylinder or +size or +sizeM or +sizeK (4608-8681, default 8681):
Using default value 8681
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or
resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
boaz:~# fdisk -l /dev/sda
Disk /dev/sda (Sun disk label): 64 heads, 32 sectors, 8681 cylinders
Units = cylinders of 2048 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 0 3072 3145728 83 Linux native
/dev/sda2 u 3072 4096 1048576 83 Linux native
/dev/sda3 4096 4608 524288 83 Linux native
/dev/sda4 4608 8681 4170752 83 Linux native
--
Brian Macy
Software Engineering Manager & Architect
Java C++ Perl Linux J2EE JSP SQL XML
http://www.bmacy.org/
Reply to: