LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   No Boot, fd1 cannot get c/h/s values, "grub rescue>", no such device (http://www.linuxquestions.org/questions/ubuntu-63/no-boot-fd1-cannot-get-c-h-s-values-grub-rescue-no-such-device-809412/)

webmanoffesto 05-22-2010 12:56 AM

No Boot, fd1 cannot get c/h/s values, "grub rescue>", no such device
 
Hello from a first-time-Ubuntu-install person
I installed Ubuntu 10.04 on an XP machine from the Live disk. Since then I haven't been able to boot at all.

After restarting the computer I get
"error: no such device: acc09210- ...
grub rescue>"
or I get the

"fd1 cannot get C/H/S values "
I have found some postings about similar issues but after trying some of the solutions (without really understanding what I was doing) I still have not resolved the problem.

after typing "ls" at the "grub rescue>" I got
(hd0) (hd0,5) (hd0,1) (fd0) (fd1)
error: fd1 cannot get C/H/S values
grub rescue>
Following a suggestion at
http://ohioloco.ubuntuforums.org/sho....php?t=1437840
and running from the Live Disk I did
ubuntu@ubuntu:~$ sudo fdisk -l

and the result was
--- begin result
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x15af38ba

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13386 107523013+ 7 HPFS/NTFS
/dev/sda2 13387 38912 205037595 f W95 Ext'd (LBA)
/dev/sda5 13387 38912 205037563+ 7 HPFS/NTFS
ubuntu@ubuntu:
--- end result
the result of
"ubuntu@ubuntu:~$ sudo blkid"
was
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="System" UUID="B244190F4418D7C5" TYPE="ntfs"
/dev/sda5: LABEL="Data" UUID="78BC606DBC6027B8" TYPE="ntfs"
ubuntu@ubuntu:~$
Please help me resolve this. I need my computer back.

I am anxiously awaiting assistance from the Ubuntu community.

-.-----

Seemingly similar posts, but not solutions yet
fd1 cannot get C/H/S values
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564083
- http://groups.google.com/group/linux...373fcbea1d8903
- http://www.archivum.info/linux.debia...-M4A785-M.html

Messed up bootloader
- http://ubuntuforums.org/showthread.p...ghlight=rescue

This post (currently still unanswered) on UbuntuForums.org
http://ubuntuforums.org/showthread.php?t=1489689

Kenny_Strawn 05-22-2010 09:53 AM

The
Code:

--- begin result
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x15af38ba

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13386 107523013+ 7 HPFS/NTFS
/dev/sda2 13387 38912 205037595 f W95 Ext'd (LBA)
/dev/sda5 13387 38912 205037563+ 7 HPFS/NTFS
ubuntu@ubuntu:
--- end result

indicates that you have NTFS and FAT (or Win95 Extended) on all of your partitions. GRUB does not recognize ANY of these file systems. Try backing up your data, reformatting a partition in Ext3 or 4, reinstalling Ubuntu, and transferring your data back to your computer.

impert 05-22-2010 02:11 PM

Hi, and welcome to the forum,

You will need to restore your Windows bootloader before you can boot Windows.
You can use a bootable floppy, with the command:
fdisk /mbr
If you use the Windows installation CD, then its fixmbr.
Definitely back up anything before doing anything else, if you haven't already. Then it would be a good idea to defragment.

You'll need to do some partitioning. It's not difficult, the hardest part is deciding what you want. You can have four primary partitions, of which one only may be an extended partition. This extended partition may be divided into a number of Logical partitions. Windows can only be installed on a Primary partition. Linux is perfectly happy on a Logical partition.
At present you have a Primary partition (sda1), formatted NTFS, wih Windows, and an Extended partition (sda2), which is entirely filled by a Logical partition (sda5) formatted NTFS and labelled "Data". At the least, you'll need to shrink sda5 and add some logical partitions (sda6, sda7, sd8, . . .) for linux. If you want to access some of your data from both Windows and Linux, then I suggest you format a Primary partition FAT32, because I don't think Linux can write to an NTFS partition. I would suggest the following:
sda1 primary, formatted NTFS, with Windows, as at present. You *may* be able to reduce its size.
sda2 Primary, formatted FAT32. It wants to be about 25% bigger than the amount you will need a year or two hence ;)
sda3 Extended, containing:
sda5 Logical, formatted ext3 with linux (root) 10G should do, if you keep your stuff on:
sda6 Logical, formatted ext3 Linux. Data partition . Size: Big enough to hold your stuff + 20%.
sda7 Logical, formatted swap. If you have 1G or more of RAM, 1G should be enough here.
sda8 Logical, ext3. 10G Use it for another Linux :D
sda9 - sdax As above. You can either put another OS on them, use them for data, or get rid of them later.
sda4 Not used

Most people advise having a separate /home partition. The ext3 Data partition takes its place.
It's a good idea not to have your partitions too big. Linux does a file system check every so often. You can wait for a 10G partition, but for 200G you might as well go and mow the lawn or whatever. (On the other hand, you don't have to defragment with linux).
Having a second (or twenty second) Linux is good for a number of reasons. You can use it to get into your main system when you screw it up (we all do). You can try other distros out, and above all, it will help you learn - you can afford to try things out.
Use your Windows disc to resize your Windows partition. Then boot the Linux install disc, choose manual partitioning (don't be put off by the "expert" tag), and create and format your other partitions. Install the Linux bootloader (Grub) to the MBR. The new Grub should automatically give you a choice of booting to Windows or Linux.
Good luck.

webmanoffesto 05-30-2010 10:25 PM

After booting from a Windows Live Disk (MiniXP?) I restarted again and then I was finally able to boot to windows off my hard disk and did a system restore.


All times are GMT -5. The time now is 06:52 AM.