Tuesday, February 21, 2012

Font Sizes and Grub Stuff

And overall look are easy enough to change with different desktop themes.

In order to fix dual booting I had to add a stanza to OS12's /boot/grub/menu.lst. Below is a what the last two stanzas look like now.


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.1 - 3.1.9-1.4
root (hd0,2)
kernel /boot/vmlinuz-3.1.9-1.4-desktop root=/dev/disk/by-id/ata-ST3500418AS_9VMRL8BM-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VMRL8BM-part7 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-3.1.9-1.4-desktop

###By me to dual boot to LinuxMint12
title LinuxMint12
root (hd0,0)
kernel /boot/vmlinuz-3.0.0-15-generic root=UUID=3f531261-e31c-4b42-bc95-933458c5d59c
initrd /boot/initrd.img-3.0.0-15-generic


Using the syntax that works for OS12 doesn't work for LinuxMint. Specifically the "/dev/disk/by-id/STRING-part1" part. Also using the LM symbolic links in / didn't work.


mark@flounder:/media/3f531261-e31c-4b42-bc95-933458c5d59c> ll vmlinuz
lrwxrwxrwx 1 root root 29 Feb 19 23:33 vmlinuz -> boot/vmlinuz-3.0.0-16-generic

mark@flounder:/media/3f531261-e31c-4b42-bc95-933458c5d59c> ll initrd.img
lrwxrwxrwx 1 root root 33 Feb 19 23:33 initrd.img -> /boot/initrd.img-3.0.0-16-generic


Do you see the subtle difference in the path in the symbolic links?

This means that I have to edit OS12's /boot/grub/menu.lst every time there is a new kernel for LM. I use Gvim to do that task.

Update:
The two sentences marked in red above are wrong! I think the first time I tried using the LM sym links I had the hd value for grub set incorrectly. I edited OS12's /boot/grub/menu.lst last night to read as follows: (Note I'm currently running LM booted from this change.)

###By me to dual boot to LinuxMint12
title LinuxMint12
root (hd0,0)
kernel /boot/vmlinuz-3.0.0-16-generic root=UUID=3f531261-e31c-4b42-bc95-933458c5d59c
initrd /boot/initrd.img-3.0.0-16-generic

### By me testing using the sym links in LM's /
title LinuxMint12T
root (hd0,0)
kernel /vmlinuz root=UUID=3f531261-e31c-4b42-bc95-933458c5d59c
initrd /initrd.img

I now have two entries for LinuxMint. Technically I could edit that file on the Opensuse partition and comment out the stanza I don't need but I think that might be risky.

No comments: