1 |
I'm virtually certain re-writing the partition table is going to require a |
2 |
reboot. |
3 |
|
4 |
BTW, over the years I've had several drives with the "over 1024" cylinder |
5 |
message, and it has never been a problem with many versions of linux, |
6 |
including Gentoo, so that shouldn't be a problem using any modern distro. |
7 |
|
8 |
Robert Crawford |
9 |
|
10 |
On Saturday 08 October 2005 04:36 am, Jorge Almeida wrote: |
11 |
> I'm trying to reinstall gentoo, after serious troubles due to hd failure |
12 |
> (I fear) or filesystem corruption (I hope). So, I booted Knoppix and I'm |
13 |
> trying to repartition hda. I deleted all partitions and tried to save |
14 |
> changes, before making new partitions. Problem is: |
15 |
> |
16 |
> root@0[~]# fdisk /dev/hda |
17 |
> |
18 |
> The number of cylinders for this disk is set to 9733. |
19 |
> There is nothing wrong with that, but this is larger than 1024, |
20 |
> and could in certain setups cause problems with: |
21 |
> 1) software that runs at boot time (e.g., old versions of LILO) |
22 |
> 2) booting and partitioning software from other OSs |
23 |
> (e.g., DOS FDISK, OS/2 FDISK) |
24 |
> |
25 |
> Command (m for help): p |
26 |
> |
27 |
> Disk /dev/hda: 80.0 GB, 80060424192 bytes |
28 |
> 255 heads, 63 sectors/track, 9733 cylinders |
29 |
> Units = cylinders of 16065 * 512 = 8225280 bytes |
30 |
> |
31 |
> Device Boot Start End Blocks Id System |
32 |
> |
33 |
> Command (m for help): w |
34 |
> The partition table has been altered! |
35 |
> |
36 |
> Calling ioctl() to re-read partition table. |
37 |
> |
38 |
> WARNING: Re-reading the partition table failed with error 16: |
39 |
> Device or resource busy. |
40 |
> The kernel still uses the old table. |
41 |
> The new table will be used at the next reboot. |
42 |
> Syncing disks. |
43 |
> |
44 |
> |
45 |
> Rebooting is not an option, since I'm working remote through ssh. |
46 |
> |
47 |
> BTW: |
48 |
> root@0[~]# mount |
49 |
> /dev/root on / type ext2 (rw) |
50 |
> /dev/hdc on /cdrom type iso9660 (ro) |
51 |
> /dev/cloop on /KNOPPIX type iso9660 (ro) |
52 |
> /ramdisk on /ramdisk type tmpfs (rw,size=813616k) |
53 |
> /UNIONFS on /UNIONFS type unionfs |
54 |
> (rw,noatime,dirs=/ramdisk=rw:/KNOPPIX=ro) |
55 |
> /UNIONFS/dev/pts on /UNIONFS/dev/pts type devpts (rw) |
56 |
> /proc/bus/usb on /proc/bus/usb type usbfs (rw,devmode=0666) |
57 |
> automount(pid2703) on /mnt/auto type autofs |
58 |
> (rw,fd=4,pgrp=2703,minproto=2,maxproto=4) |
59 |
> /UNIONFS/dev/hdb5 on /mnt/hdb5 type ext3 (rw) |
60 |
> |
61 |
> So, what went wrong? And is there any way to force use of the new table, |
62 |
> other than rebooting? |
63 |
> -- |
64 |
> Jorge Almeida |
65 |
-- |
66 |
gentoo-user@g.o mailing list |