LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-03-2007, 12:27 PM   #16
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33

Do a fdisk -l and post
 
Old 01-03-2007, 01:48 PM   #17
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Here is a tip from an owner of 152 partitions from 2 Pata and 2 Sata.

Duck2006 advice is the one to go for first as you will known the complete list of all partitions of every disk in the box tabultaed in Linux convention.

Next you want to know the disk order the Bios has arranged as Grub uses the order handed down by the Bios. Grud can call sda5 either (hd0,4), (hd1,4) or (hd2,4) depending it is the 1st, 2nd or the 3rd disk. Don't blame Grub as you are supposed know how your own disks are arranged in the booting queue, right?

Linux doesn't use the Grub convention so you have to aks Grub to report to you. You can do so by invoking a Grub shell and then instruct Grub to tell you the geometry of each disk by commands (1st command is to invoke a Grub shell)
Code:
grub
geometry (hd0)
geometry (hd1)
geometry (hd2)
unitl all the disks have been viewed.

From the disks geometry, which also tabultes the partition ID and sizes, you then know which disk has the sda5.

Hope this help.
 
  


Reply

Tags
grub, multiboot


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
Need a grub.conf entry format RedNovember Linux - Software 9 02-05-2006 05:37 PM
grub entry? quaylet Linux - Newbie 2 06-14-2005 02:30 PM
adding a new entry to grub? dr_zayus69 Linux - Software 8 12-30-2004 03:51 PM
GRUB Entry for 2.6.8 Codegen Linux - Distributions 1 08-14-2004 09:54 PM
adding entry to grub questionasker Linux - General 4 03-18-2004 10:21 AM


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