LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-17-2008, 03:35 PM   #1
P@trick99
LQ Newbie
 
Registered: Jun 2008
Location: UK
Distribution: Linux Mint
Posts: 28

Rep: Reputation: 15
How to install Linux on second Hard Drive (hd1) (sdb) Please help!


Hi there

I have Dell Vostro (Intel Core2 Duo CPU T7500 @ 2.2GHz, 3GB Ram, Nvidia GeForce 8600GT Vista H.
This laptop has 2 Hard Drives (2x160 GB)

I have tried to install Ubuntu on the second HD and I have selected GRUB loader to be install on the same HD (hd1)(sdb) I don't want to have the grub loader on my (hd0)(sda) where my vista is installed. If I want to boot Linux Ubuntu F12 boot menu select boot from second HD. That is how I would like to have my dual bot Vista & Linux Ubuntu.

After installation F12 boot from second HD I have "Error 17 Cannot mount selected partition". I have spend 2 days trying to install Ubuntu 8.04
Because I am a newbie I am not able to do that.
Please can someone help me to install Ubuntu?

Thanks
Patrick
 
Old 07-17-2008, 04:18 PM   #2
pruneau
Member
 
Registered: Jul 2008
Location: Montreal
Distribution: Debian/Fedora/RHEL
Posts: 45

Rep: Reputation: 15
You setup seems quite correct from afar, however could you please precise what is displaying the error ? I would assume it's the kernel booting from sdb, but I'm not sure.
 
Old 07-17-2008, 05:32 PM   #3
P@trick99
LQ Newbie
 
Registered: Jun 2008
Location: UK
Distribution: Linux Mint
Posts: 28

Original Poster
Rep: Reputation: 15
Re: Error 17

Hi there

I have this message:

Error 17
Cannot mount selected partition

I have installed Ubuntu on my old laptop PIII 900Mhz and it works fine,
I think, I am doing something wrong with (hd1)

Installation;

1 welcome (select language)
2 Where are you? (City, time zone)
3 Keyboard layout
4 Prepare disk space
*Guided - resize partition (sda) vista
*Guided - use entire disk
(sda)
(sdb) I selected this one
*Manual
5 Who are you and password
7 Ready to install
*Advanced - Boot loader (device for boot loader installation) That is where I don't know what to choose I have tried (hd1) , /dev/sdb , /dev/sdb1 , (hd1,0) It didn't work.
Error 17
Cannot mount selected partition


So where is the problem?

Thank you
 
Old 07-18-2008, 09:39 AM   #4
pruneau
Member
 
Registered: Jul 2008
Location: Montreal
Distribution: Debian/Fedora/RHEL
Posts: 45

Rep: Reputation: 15
OK, OK, so it's the installer that fails.
Hmmm, there is no reason that grub would not install to whichever hard drive you choose, so you are probably not giving it the proper drive specifications.
Here's a way to find it: when the installer is asking you where to install the boot loader, go to a shell session by switching terminal console with ctrl-alt-fx.
I do not have any ubuntu installation media near me right now, but try control-alt-fx until fx gives you access to a command-line prompt. You should be able to return to your installation screen by pressing ctrl-alt-f1 if you are installing in text mode, and ctrl-alt-f7 if you are installing in graphical mode, but YMMV, so cycle through all the virtual consoles to establish what is what.
Once this is done and you are confident, go back to a prompt and type "fdisk -l". It should give you all the disk an partitions recognized by the install system, and you should be able to derive what is the device specification of where you want to install grub.
 
Old 07-18-2008, 01:20 PM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,642

Rep: Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727
Did you install Grub to the mbr on the second drive?
I would suggest you post the output of 'fdisk -l' command suggested by pruneau if you are still having problems.
 
Old 07-19-2008, 01:45 AM   #6
resetreset
Senior Member
 
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320

Rep: Reputation: 51
Quote:
Originally Posted by P@trick99 View Post
Hi there
I don't want to have the grub loader on my (hd0)(sda) where my vista is installed. If I want to boot Linux Ubuntu F12 boot menu select boot from second HD.
Patrick
why? i think this is what you have to do, the ROM loads the hd0 boot sector first which is what'll let you choose between OSes. the boot sector afaik is 512 bytes set aside from *any* OS, so installing grub here wont touch any part of your precious vista consider getting rid of it, too!
 
  


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
How to Install Linux on an external hard drive lilangel890 Linux - Software 7 03-17-2007 05:21 PM
How Do I Change root(hd1,0) to rootnoverify(hd1,0)? Norab Linux - Software 5 08-20-2005 02:24 PM
How do I install Linux on a second Hard drive? Linux_newbie23 Linux - Newbie 4 08-23-2004 12:17 PM
How do I install Linux on a hard drive with no OS? deanh2nd Linux - Newbie 6 02-28-2004 12:01 PM
Cannot Install Bootloader, XP on hda, Linux on sdb (USB MASS STORAGE DRIVE) neo5064 Linux - Newbie 3 12-29-2003 04:57 PM


All times are GMT -5. The time now is 01:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration