parker-hugh
June 6th, 2014, 09:58 PM
I have an old laptop hp 530 with intel centrino duo cpu which has windows xp on it
I want to install Xubuntu and also OpenElec with xbmc.
so I have installed Xubuntu 14.04
this is the partitions I used...
/dev/sda5 / (root) 8001MB Ext4 minimum 5.7GB
/dev/sda6 / home 2002MB Ext4 2002
/dev/sda7 swap 1001MB Swap 1001
I updated Xubuntu which works fine, then I booted to Gparted cd
created two more partitions for xbmc using following instructions....
http://wiki.openelec.tv/index.php/Manual_Installation_-_multi_boot
label
OE_SYSTEM /dev/sda3 ext4 1024mb # FLAGGED AS BOOT
OE_DATA /dev/sda4 ext4 5002mb
The only option I had was to create these as primary partitions, the logical partition choice was greyed out and I could only chose primary. I thought logical would be better so not sure if this is ok or not. Did I do this correct?
I am now at point of Adding OpenELEC to the GRUB bootloader
These are the instructions from
http://wiki.openelec.tv/index.php/Manual_Installation_-_multi_boot
Adding the OpenELEC menu item to GRUB is done by editing the following file:
sudo gedit /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
#
menuentry "OpenELEC" {
search --set=root --label OE_SYSTEM --hint hd0,msdos3
linux /KERNEL boot=LABEL=OE_SYSTEM disk=LABEL=OE_DATA quiet
}
menuentry "OpenELEC debugging" {
search --set=root --label OE_SYSTEM --hint hd0,msdos3
linux /KERNEL boot=LABEL=OE_SYSTEM disk=LABEL=OE_DATA debugging
}
Please note the /dev/sda3 and /dev/sda4 devices correspond to the two OpenELEC partition device names that you created earlier in this tutorial. In the example, /dev/sda3 corresponds to the partition labelled 'OE_SYSTEM' which KERNEL and SYSTEM have been copied to, and /dev/sda4 corresponds to the partition 'OE_DATA' which was left empty.
Please note that GRUB2 differs from GRUB regarding the partitions schemes, as it starts enumerating partitions from 1 instead of 0. Within GRUB2, the notation 'set root=(hd0,3)' corresponds to the third partition on the first drive, i.e. 'sda3'. The two values shall match.
My question is, what values do I put into the bootloader as I was confused by the instructions in the two paragraphs above.
any help would be appreciated.
Hugh
I want to install Xubuntu and also OpenElec with xbmc.
so I have installed Xubuntu 14.04
this is the partitions I used...
/dev/sda5 / (root) 8001MB Ext4 minimum 5.7GB
/dev/sda6 / home 2002MB Ext4 2002
/dev/sda7 swap 1001MB Swap 1001
I updated Xubuntu which works fine, then I booted to Gparted cd
created two more partitions for xbmc using following instructions....
http://wiki.openelec.tv/index.php/Manual_Installation_-_multi_boot
label
OE_SYSTEM /dev/sda3 ext4 1024mb # FLAGGED AS BOOT
OE_DATA /dev/sda4 ext4 5002mb
The only option I had was to create these as primary partitions, the logical partition choice was greyed out and I could only chose primary. I thought logical would be better so not sure if this is ok or not. Did I do this correct?
I am now at point of Adding OpenELEC to the GRUB bootloader
These are the instructions from
http://wiki.openelec.tv/index.php/Manual_Installation_-_multi_boot
Adding the OpenELEC menu item to GRUB is done by editing the following file:
sudo gedit /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
#
menuentry "OpenELEC" {
search --set=root --label OE_SYSTEM --hint hd0,msdos3
linux /KERNEL boot=LABEL=OE_SYSTEM disk=LABEL=OE_DATA quiet
}
menuentry "OpenELEC debugging" {
search --set=root --label OE_SYSTEM --hint hd0,msdos3
linux /KERNEL boot=LABEL=OE_SYSTEM disk=LABEL=OE_DATA debugging
}
Please note the /dev/sda3 and /dev/sda4 devices correspond to the two OpenELEC partition device names that you created earlier in this tutorial. In the example, /dev/sda3 corresponds to the partition labelled 'OE_SYSTEM' which KERNEL and SYSTEM have been copied to, and /dev/sda4 corresponds to the partition 'OE_DATA' which was left empty.
Please note that GRUB2 differs from GRUB regarding the partitions schemes, as it starts enumerating partitions from 1 instead of 0. Within GRUB2, the notation 'set root=(hd0,3)' corresponds to the third partition on the first drive, i.e. 'sda3'. The two values shall match.
My question is, what values do I put into the bootloader as I was confused by the instructions in the two paragraphs above.
any help would be appreciated.
Hugh