maxim wexler wrote:

>>I took a peek at the manual for your MB.  You might
>>want to double check
>>the BIOS settings for the hard disk and make sure
>>that LBA/Large mode is
>>set to "Auto".
>>    
>>
>
>It *is*. The only other choice is "disabled". 
>
>  
>
>>Also, what is the CHS reported by the kernel in the
>>dmesg output?  If it
>>says CHS=xxxx/255/63, then LBA mode is active.
>>
>>    
>>
>
>CHS=65535/16/63
>
>  
>

Damn.  Looks like LBA is being disabled, most likely because the drive
was initially partitioned without LBA.  Parted might be able to fix
this, but I'm not sure.  You may have to restart from scratch....

If you are brave, follow these steps _very_ carefully to see if it is
simply due to the partitioning of the disk.  If you are careful, you can
do this without damaging any data on your system.  All of this will be
from the livecd:

First, backup your partition table and MBR to a floppy disk:

# mount /dev/fd0 /mnt/floppy
# dd if=/dev/hda of=/mnt/floppy/mbr.backup bs=512 count=1
# fdisk -l /dev/hda > /mnt/floppy/partitions.txt
# umount /mnt/floppy

Now we need to erase things:

# dd if=/dev/zero of=/dev/hda bs=512 count=1 ## DOUBLE CHECK THIS LINE

And reboot the live CD.  If LBA is working, CHS should now be reported
as xxx/255/63.

To restore things, run:

# mount /dev/fd0 /mnt/floppy
# dd if=/mnt/floppy/mbr.backup of=/dev/hda bs=512 count=1 ## DOUBLE
CHECK AGAIN

If you have logical partitions also, use the data in
/mnt/floppy/partitions.txt to recreate them using fdisk with the exact
starting cylinder, ending cylinder, and Id.

# umount /mnt/floppy

And reboot.  If all went well, you didn't lose any data...



If you do decide to rebuild the system, and we did not get LBA mode from
blanking the partition table and rebooting above, then you can try
running fdisk with "-H 255", partition the drive, and reboot.  That
should basically force things to the right mode.

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to