LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-22-2010, 12:56 AM   #1
webmanoffesto
LQ Newbie
 
Registered: May 2010
Posts: 26

Rep: Reputation: 0
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
 
Old 05-22-2010, 09:53 AM   #2
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
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.
 
1 members found this post helpful.
Old 05-22-2010, 02:11 PM   #3
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
Smile

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
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.
 
1 members found this post helpful.
Old 05-30-2010, 10:25 PM   #4
webmanoffesto
LQ Newbie
 
Registered: May 2010
Posts: 26

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
boot loader, dual boot



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install GRUB from "linux rescue" mode? iguthrie Linux - General 10 06-14-2007 06:45 AM
grub problem: "please specify a device to boot..." ajburch Linux - Software 4 11-08-2005 10:34 PM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM
Hard disk now displaying "not a valid block device" when booting in rescue mode alphasure Linux - Hardware 4 06-05-2003 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration