which os on which partition?

Doug dmcgarrett at optonline.net
Mon Apr 18 07:39:36 UTC 2011


On 04/18/2011 03:07 AM, Goh Lip wrote:
> On 04/18/2011 10:19 AM, Doug wrote:
>
>
>>
>> Is there any software that will "fish out" the distro name from the
>> available information?
>>
>> Thanx--doug
>>
>
> cat /media/disk-x/etc/lsb-release
>
> or at grub menu
> grub> cat (hd0,x)/etc/lsb-release
>
> Regards - Goh Lip
Doesn't work.  Here are the results:
>
> [doug at localhost ~]$ cat /media/disk-x/etc/lsb-release
> cat: /media/disk-x/etc/lsb-release: No such file or directory
> [doug at localhost ~]$ cd /boot/grub
> [doug at localhost grub]$ grub> cat (hd0,x)/etc/lsb-release
> bash: syntax error near unexpected token `('
Maybe it just needs a tweak, I don't know.  I did manage to figure it
out, with a little prodding from the previous writer.  But I would like
to know how to do it.

thanx--doug
>
>





-- 
Blessed are the peacemakers...for they shall be shot at from both sides. --A. M. Greeley





More information about the ubuntu-users mailing list