You are not logged in.
I am attempting to understand how to use the grub console to boot Linux manually.
I've been able to satisfy myself about how to do it based on available doc, except when the root filesystem is on LVM.
My question: What "grub" console command will give me the UUID for lvm logical volumes? I can use 'ls' to see devices like (hd0,msdos1) or (lvm/vg00-lvol1) etc, but I can't use those LVM references like that as a kernel parameter, right?
Specifically, it's the "myuuid" I am trying to figure out as below:
linux /vmlinuz-linux root=UUID=<myuuid>
Now, I realize I can use the console 'cat' command to just list the /boot/grub.cfg or the /etc/fstab on the root filesystem, but is that the only way?
I checked the wiki thoroughly I thought, plus the upstream grub doc, but didn't see an answer. Of course, I may have missed it. I am very interested in where this is covered in the wiki, as I was told it clearly was.
Thanks very much.
Steve.
Last edited by stevepa (2015-05-24 14:02:23)
Arch - LVM - ext4 - gnome (T60p 14.1 1400p x86_64), (T60 15 flexview 1400p i686)
Offline
With pvdisplay, have a look at
man 8 pvdisplay
Offline
With pvdisplay, have a look at
man 8 pvdisplay
pvdisplay is not available in the grub console, right?
At least, it is not listed here http://www.gnu.org/software/grub/manual … y-commands
I know how to get the UUID outside of grub console.
Maybe I don't understand what I should concentrate on. Can you elaborate?
TIA
Steve.
Last edited by stevepa (2015-05-23 19:26:01)
Arch - LVM - ext4 - gnome (T60p 14.1 1400p x86_64), (T60 15 flexview 1400p i686)
Offline
Ai, sorry for the disturbance. Should have read better.
No, pvdisplay wont work in grub console, and I guess you have tried 'ls -l', which works for simply good old ext4 partitions?
Offline
The solution to finding your UUID's from the 'grub console', is
insmod ext2
insmod lvm
ls -l
I use bash 'ls -l' all the time so I knew it did not list UUID's, but in the grub shell, it does!
Arch - LVM - ext4 - gnome (T60p 14.1 1400p x86_64), (T60 15 flexview 1400p i686)
Offline