LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2013, 12:33 PM   #1
SenjuRoy
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Question Problem with Dual booting with two drives(SSD&HDD)


When I try to boot Ubuntu I get the message...

root (hd-1,-1)

Error 11: Unrecognized device string, or you omitted.....




I can run the live cd of course but I would like to start installing and learning hands on more!!!! Please help.
 
Old 03-12-2013, 03:04 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Hi:

Welcome to Linux Questions!

I can only help you if you want to install to you HDD.
Your LIVE CD will do most of the work for you and the installer and partition manager is fairly reasonable to work with.
http://www.psychocats.net/ubuntu/installing
https://help.ubuntu.com/community/LiveCD

Installing Ubuntu to your Solid State Drive (a little more complex) and I am still in the process of learning that technique. I don't want to instruct you on what I don't know yet-
 
Old 03-12-2013, 04:46 AM   #3
cyberpatrol
Member
 
Registered: Dec 2012
Posts: 75

Rep: Reputation: Disabled
Quote:
Originally Posted by SenjuRoy View Post
When I try to boot Ubuntu I get the message...

root (hd-1,-1)

Error 11: Unrecognized device string, or you omitted.....
Looks like it's an error message from grub or grub2. Try to remove the "-" in the config file (menu.lst with grub). The correct syntax is (hdX,Y). The first value (hdX) says which hard drive to use, and the second value (Y) is the partition.

In grub (hd0,0) means the first partition on the first disk.
In grub2 (hd0,1) means the first partition on the first disk.

So there's no hard drive or partition -1.

root (hdX,Y) in fact points to the /boot parition as far as I know, but don't nail me down on it.

Btw., it shouldn't matter if it's an SSD or HDD.

Last edited by cyberpatrol; 03-12-2013 at 04:48 AM.
 
Old 03-12-2013, 05:30 AM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
OP does not tell us on which drive he is installing and where he installed GRUB.
Also he did not tell us with drive is the first HD during in the boot time
 
1 members found this post helpful.
Old 03-12-2013, 11:08 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
cyberpatrol:
So; GRUB is complaining because a partition does not exist?

I wonder if he changed his BIO's because if he set them to boot to usb that would explain:
Quote:
Error 11: Unrecognized device string,
Device as in the "SSD"....Right?


ronlau9:

I'm thinking that he installed GRUB to the "SSD" !?

Last edited by Ztcoracat; 03-12-2013 at 11:10 PM.
 
Old 03-13-2013, 08:06 AM   #6
cyberpatrol
Member
 
Registered: Dec 2012
Posts: 75

Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
cyberpatrol:
So; GRUB is complaining because a partition does not exist?
Right. As I explained, grub is complaining about "root (hd-1,-1)". And there are no hard drives -1 and no partitions -1, on no system. In grub the hard drives (internal as well as external, incl. HDDs, SSDs and USB sticks) are counted from 0 and the partitions are counted from 0, and not from -1. In grub2 the hard drives are counted from 0 and the partitions are counted from 1.

That is:
For grub:
/dev/sda1 -> (hd0,0)
/dev/sda2 -> (hd0,1)
/dev/sdb1 -> (hd1,0)
/dev/sdb2 -> (hd1,1)
etc.

For grub2:
/dev/sda1 -> (hd0,1)
/dev/sda2 -> (hd0,2)
/dev/sdb1 -> (hd1,1)
/dev/sdb2 -> (hd1,2)
etc.

Quote:
Originally Posted by Ztcoracat View Post
I wonder if he changed his BIO's because if he set them to boot to usb that would explain:

Device as in the "SSD"....Right?
What's BIO's? I guess you mean BIOS. Where did he say, that he changed his BIOS and how?

An SSD is not a USB stick. Nevertheless it doesn't matter if the drive is an HDD, an SSD or a USB stick, particularly not to grub. In the grub configuration you just have to set the correct device.

And regarding the BIOS settings, an SSD is the same as an HDD, there are just no spinning disks in it. Both are usually internal disks, but can also be external.

To be able to boot from an external HDD, an external SSD or a USB stick you have to change the boot order in the BIOS, so that the computer tries to first boot from the USB port instead of the internal HDD or SSD. That doesn't have anything to do with grub.


Quote:
Originally Posted by Ztcoracat View Post
ronlau9:

I'm thinking that he installed GRUB to the "SSD" !?
He seems to have installed grub to the correct drive, otherwise grub wouldn't have been started, wouldn't try to boot and wouldn't give this error message. At least there is a grub installed in the correct drive, maybe a different one as the one Ubuntu has installed and configured. That could be another reason for the original issue.

Btw., the OP didn't give any details about the drives (how many, to which ports they are connected) etc. But the error message is sufficient to see that grub, at least the one that is loaded at boot time, is badly configured.

For more detailed help the OP needs to give some more details about his drives, to which drive he installed Ubuntu and other systems, if he has a multiboot system, and about his grub configuration.

Last edited by cyberpatrol; 03-14-2013 at 02:01 AM.
 
Old 03-14-2013, 01:53 AM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
And regarding the BIOS settings, an SSD is the same as an HDD, there are just no spinning disks in it. Both are usually internal disks, but can also be external.
Didn't know that. Thanks for explaining; appreciate it-

Yes; I meant BIOS. (typing error)

I didn't know that GRUB could even be installed; much less configured w/o first installing a journaling file system first.
Learning from this thread.

Hopefully OP will elaborate on his drives and GRUB configuration.

Last edited by Ztcoracat; 03-14-2013 at 01:58 AM. Reason: Additional comment
 
Old 03-14-2013, 02:12 AM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
SenjuRoy:

Kindly give me, cyberpatrol and runlau9 more information.

What are the details/type of SSD your have is it an external drive?
Also what brand/model so I can look it up to help you.
Is your internal HDD brand new; did you just install it? How many GB?
Is there another OS on this computer?
Is this computer a Hewett Packard? Compaq? Toshiba? Dell? Lenovo? Desktop or laptop; 32bit or 64bit architecture?

Details are important for us to help you and diagnose problems.

Last edited by Ztcoracat; 03-14-2013 at 02:13 AM.
 
Old 03-14-2013, 09:57 AM   #9
cyberpatrol
Member
 
Registered: Dec 2012
Posts: 75

Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
SenjuRoy:

Kindly give me, cyberpatrol and runlau9 more information.
...
Details are important for us to help you and diagnose problems.
Details are important, but not those details. The brand of the HDD and SSD, or the computer is totally unimportant.

What's important are the specifications of the drives. If SenjuRoy needs more help, those details are needed:
How many internal drives are there and to which ports are they connected. That is, which drive is on /dev/sda, which on /dev/sdb, etc.
Then the partition schemes of the drives could help, and to know which OSs are installed on which drive and partition.
If he wants to boot from an external drive the specs of this drive are necessary, too.
Important could also be if it's an MBR or a GPT partition, and if the main board has a BIOS or a UEFI.
That's all for now.

But this information is only necessary, if he still hasn't solved his issue. And he didn't ask for more help yet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem dual booting Vista and Ubuntu 6.10 with 2 sata drives skails22 Linux - Newbie 2 02-06-2007 08:57 PM
Problem of dual booting WinXP & Fedora core5 in two primary hard drives biswajit12 Fedora - Installation 5 11-07-2006 10:06 AM
dual booting linux el4 & winxp in two different hdd nsudhakar77 Linux - General 3 04-10-2006 10:50 AM
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 06:44 PM
Dual booting Mandrake & WinXP in different HDD kernel_zap Linux - Newbie 4 12-04-2004 09:16 AM


All times are GMT -5. The time now is 11:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration