bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Which device did I boot from?


From: Dallas Clement
Subject: RE: Which device did I boot from?
Date: Fri, 22 Jun 2007 07:44:20 -0500

In fact I am trying to boot from a USB drive which would be /dev/sdx.

The other problem I have is that I can't just do a search for a
particular file like devices.map on a mounted partition. 

I may wish to install over the top of an existing IDE drive, which might
also have grub installed and a corresponding menu.lst and devices.map.

So it's very difficult to tell which one of several possible devices was
the boot device by just examining the contents on the device.

On Fri, 2007-06-22 at 12:56 -0400, Brown, Beverly wrote:
> Not necessarily. It could be /dev/sda. 
> 
> There should be a devices.map file where your menu.st file is. That will tell 
> you which device is (hd0).
>  
> Beverly
> 
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Gregg C Levine
> Sent: Friday, June 22, 2007 12:46 PM
> To: address@hidden; address@hidden
> Subject: RE: Which device did I boot from?
> 
> Hello!
> Ideally we'd need to know which distribution you chose for your work. But
> baring those details I can tell you that the root volume that this started
> from is indeed /dev/ha with the appropriate partitions starting at /dev/hda1
> all the way to /dev/hda4. And typically the boot process starts from
> /dev/hda1, unless you're using a Red Hat based one, in which case all bets
> are off.
> 
> Also check to see if there are given details regarding how GRUB was
> installed, that may give you more clues.
> 
> 
> Seriously though the fact that we see your menu.lst file without a splash
> image entry does suggest that you might have set this up yourself, or used
> one that does not use them.
> --
> Gregg C Levine address@hidden
> "The Force will be with you. Always." Obi-Wan Kenobi
>   
> 
> 
> > -----Original Message-----
> > From: address@hidden
> [mailto:bug-grub-
> > address@hidden On Behalf Of Dallas
> Clement
> > Sent: Friday, June 22, 2007 6:41 AM
> > To: address@hidden
> > Subject: Which device did I boot from?
> > 
> > Can anyone tell me how to determine which device Linux booted from.  I
> > am using GRUB to boot Linux.  My menu.lst config is this:
> > 
> > title           GNU/Linux, kernel 2.6.21.1
> > root            (hd0,0)
> > kernel          /boot/kernels/bzImage
> > 
> > Once booted from Linux, I would like to be able to tell which Linux
> > device, i.e. /dev/hdx or /dev/sdx corresponds to hd0.
> > 
> > Is there a way to determine this?
> > 
> > Thanks!
> > 
> > 
> > 
> > _______________________________________________
> > Bug-grub mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/bug-grub
> 
> 
> 
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-grub





reply via email to

[Prev in Thread] Current Thread [Next in Thread]