Re: Determine boot disk device name...

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

 



Hi!

2010/10/25 Malahal Naineni <malahal@us.ibm.com>
Alexander Skwar [alexanders.mailinglists+nospam@gmail.com] wrote:
> Â ÂI also wanted to suggest this, butâ
>
> Â Âbenutzer@horst:~$ cat /proc/cmdline
> Â Âroot=/dev/xvda1 ro

I got confused with boot and root! Thanks for correction. Usually boot
disk is mounted at /boot. Your boot disk could be same as root disk (in
this case there would not be anything mounted at /boot but just a
directory).

Well, but even the location of the /boot directory/partition doesn't
necessarily tell, from where someone booted - suppose, you've got
a boot disk /dev/sda. On /dev/sda, there's grub. Grub's setup so,
that it boots a system/kernel, which is on /dev/sdb. The system
is "self contained" on /dev/sdb.

In such a case, the system would've been booted from /dev/sda,
but there's no way to tell that, once the "/dev/sdb system" has
been started - or is there?
Â
Cheers,
Alexander
--
â Lifestream (Twitter, Blog, â) âÂhttp://alexs77.soup.io/ Â â
â Chat (Jabber/Google Talk) â a.skwar@gmail.com , AIM: alexws77Â â

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux