ghqtsy
July 31st, 2010, 05:56 AM
Hi all,
Every time when I boot, the screen shows : " error: hd0,1 out of disk" then shows me a "grub rescue" prompt.
so i did reinstall,but when i deleted all partitions, it show me :(
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 or after you run partprobe.
then i exec partprobe, shows:(
warning: partition 5 on /dev/sda could not be modified, probably because it is in use. as a result, the old partition will remain in use
until after reboot.you should reboot now before making further changes.
To provide more information, I have the following information printed :
Disk /dev/sda: 61.6 GB, 61633732608 bytes
255 heads, 63 sectors/track, 7493 cylinders, total 120378384 sectors
Units = sectors of 1 * 512 = 512 bytes
I/O size (minimum/optima): 512 bytes / bytes
Disk identifier: 0x000cd72b
device start end blocks id system
/dev/sda1 2048 115372031 57684992 83 linux
/dev/sda2 115374078 120377343 2501633 5 extended
/dev/sda5 115374080 120377343 2501632 82 linux swap
As you may see too, I have found that the partition /dev/sda1 started at '7182' instead of '1'. I think this is where the problem is, however, I just don't know how to fix it. When I use 'Gparted', I see there is a 1mb unallocated space sits in the beginning of the disk, if this is the case, why not "7182"? Is this a indicator that the "1~7182" is marked as bad sector, so that the ubuntu automatically added a padding 7182right after it? Is this mean my 10GB hard disk is bad? BTW, I have tried to move the partition to the beginning of the disk, but has no luck to fix my problem.
Any comment is welcome, thanks!
Every time when I boot, the screen shows : " error: hd0,1 out of disk" then shows me a "grub rescue" prompt.
so i did reinstall,but when i deleted all partitions, it show me :(
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 or after you run partprobe.
then i exec partprobe, shows:(
warning: partition 5 on /dev/sda could not be modified, probably because it is in use. as a result, the old partition will remain in use
until after reboot.you should reboot now before making further changes.
To provide more information, I have the following information printed :
Disk /dev/sda: 61.6 GB, 61633732608 bytes
255 heads, 63 sectors/track, 7493 cylinders, total 120378384 sectors
Units = sectors of 1 * 512 = 512 bytes
I/O size (minimum/optima): 512 bytes / bytes
Disk identifier: 0x000cd72b
device start end blocks id system
/dev/sda1 2048 115372031 57684992 83 linux
/dev/sda2 115374078 120377343 2501633 5 extended
/dev/sda5 115374080 120377343 2501632 82 linux swap
As you may see too, I have found that the partition /dev/sda1 started at '7182' instead of '1'. I think this is where the problem is, however, I just don't know how to fix it. When I use 'Gparted', I see there is a 1mb unallocated space sits in the beginning of the disk, if this is the case, why not "7182"? Is this a indicator that the "1~7182" is marked as bad sector, so that the ubuntu automatically added a padding 7182right after it? Is this mean my 10GB hard disk is bad? BTW, I have tried to move the partition to the beginning of the disk, but has no luck to fix my problem.
Any comment is welcome, thanks!