which os on which partition?
Goh Lip
g.lip at gmx.com
Mon Apr 18 08:05:17 UTC 2011
On 04/18/2011 03:39 PM, Doug wrote:
> [doug at localhost ~]$ cd /boot/grub
> [doug at localhost grub]$ grub> cat (hd0,x)/etc/lsb-release
> bash: syntax error near unexpected token `('
This is not done at terminal but at the boot grub menu screen.
Type 'c' when grub menu appears at computer start-up.
Then you'll get a grub prompt like this "grub>"
Then type
cat (hd0,x)/etc/lsb-release
'x' is areal number and (hd0,x) correlates with sdax
ie...
sda1 is (hd0,1)
sda2 is (hd0,2)
.
.
sda5 is (hd0,5)
That is if the grub is grub2 (version 1.9x) and not grub-leagcy (version
0.9x) 'x' is a number.
Regards - Goh Lip
More information about the ubuntu-users
mailing list