LinuxQuestions.org
Help answer threads with 0 replies.
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 12-02-2006, 09:17 AM   #1
Cogvos
Member
 
Registered: Feb 2005
Distribution: Suse 9.3 also Redhat 9, Umbuto, Mandriva 2005
Posts: 31

Rep: Reputation: 15
Help please what does the Umbutu installa call Sata drives? (solved - sort of)


Hi All,

I want to see how good Umbunto is, so I tried to install it in a dual boot with windows, but have got a bit stuck. Windows is on the Main IDE (hda) drive and linux is going onto a SATA drive, (sda6). OK fine.

However for various reasons I do not want to put Grub onto the IDA boot block, but onto the SATA one.

Umbunto insists that it wants to put grub onto hd0. But does not give me any clue as to what it thinks the sata drive boot block is called.

Could someone please tell me. Have tried sda and sd0 without any luck.

Many thanks

John.

Last edited by Cogvos; 12-02-2006 at 01:45 PM. Reason: sort of solved see lower post
 
Old 12-02-2006, 09:40 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,377

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
I will try and clarify some things for you.

You said windows is on 'hda' I'm sure in will be on 'hda1' in linux speak. hda is the drive, but does not refer to any particular partition. hda1 is the primary partition on the first drive.

You said you want to put grub on the sata drive. You can; and get it to boot, but understand, you will need some way of getting the boot process to look at grub. This is very non-standard way of doing things. I believe the only way I can think of is to modify one of your windows files to go to grub. Not at all sure you could get that working.

The way booting works, is BIOS goes and reads the 'mba' master boot record, this is where you would normally install grub. Grub gets set up to give you options, go to the windows system to boot, or go to linux to boot. I have no idea why you don't want to go this route, it does work well enough. The only fly in the ointment is if you re-install windbloze, after you have installed linux. Windbloze will overwrite the mba with its own boot record. You can re-do grub if that happens after a windoze install.

As for what your sata drive is called, probably it is called 'sda1'. That would be the first drive, and first partition. If that doesn't work, try sda2. Linux assigns the last digit for primary partitions on an assending basis, 1 is on hda, but I'm not sure if it enforces that across different drive types.
 
Old 12-02-2006, 10:01 AM   #3
Cogvos
Member
 
Registered: Feb 2005
Distribution: Suse 9.3 also Redhat 9, Umbuto, Mandriva 2005
Posts: 31

Original Poster
Rep: Reputation: 15
Hi Cliff,

The reason I want to do this is that the windows boot loader is on hda's boot block and has a recovery option on it. So I don't want grub to overwrite it and potentially loose the ability to run the recovery. My bios has a boot menu (thump esc at startup) which will allow me to boot from any drive connected (excluding firewire ones for some reason).

So I can get the pc to boot onto the sata drive, but when I come to install grub as part of Umbuntu the only option it gives is hd0, which I guess is actually hda1 since Grub numbers everything from 0. I did wonder if the sata drive would be hd1 as I read somewhere that Grub does not distinguish between sata and ide drives, but I'm wary that the Umbunto installer might think I want to stick grub onto hda2, which is an NTFS partition and probably won't appreciate it.

The sata drive only has logical partitions, so / is on sda6 and swap on sda7. There is a fat32 partition at sda5.

Not sure if the extra info helps.

Many thanks for the reply

John.
 
Old 12-02-2006, 01:51 PM   #4
Cogvos
Member
 
Registered: Feb 2005
Distribution: Suse 9.3 also Redhat 9, Umbuto, Mandriva 2005
Posts: 31

Original Poster
Rep: Reputation: 15
Kind of solution

Take one sledgehammer....

I disconnected the windows (ide drive) and reinstalled Umbuntu. Now there was no way that the installer could put grub onto the windows drive 'cos it wasn't there. It still only gave the option hd0, which given that there was only one drive is ok. Install went fine.

I then re-connected the ide drive. Expecting that I would have to edit the menu.lst fro grub. But that as not needed. It turns out that Umbuntu was detection the sata drive as hd0 and the ide drive as hd1. But the bios detects the ide drive first! Nasty.

The remedy (if any of the umbuntu guys read this forum is to put a proper requester in the installer so the poor user knows exactly which drive grub is going on. Can't be hard both Suse and Mandriva do.
 
Old 12-02-2006, 02:29 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,392

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
let's have a look at /boot/grub/device.map
 
Old 12-03-2006, 11:02 AM   #6
Cogvos
Member
 
Registered: Feb 2005
Distribution: Suse 9.3 also Redhat 9, Umbuto, Mandriva 2005
Posts: 31

Original Poster
Rep: Reputation: 15
There's very little in there.

(hd0) /dev/sda

That's all. I guess as I only had the sata drive connected on install as I was not sure what grub was calling it and the ide drive.

John.
 
  


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
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
checking for X... configure: error: Can't find X includes. Please check your installa cis221 Linux - Software 2 10-14-2006 04:36 PM
sata drives totally_linux Linux - Hardware 4 07-13-2006 08:13 AM
SATA drives kaplan71 Red Hat 1 06-27-2005 04:41 PM
Can someone please help a newbie installa SIMPLE IMAP server! Nerd2 Linux - Software 9 05-24-2003 05:42 PM

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

All times are GMT -5. The time now is 02:54 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