After breaking cinnamon in mint14 I thought I would use gnome to back up files and software. Done.
Install mint16 with a view to going XEN.
SO I followed the tutorial here : [url]http://forums.linuxmint.com/viewtopic.php?f=42&t=108442[/url]
only on final reboot I am faced with the grub rescue prompt with
error: no such device: e66ef71e-907a-43a3-9a28-3988ef1dc150
I'll post the steps I followed as I have 4 drives not 1 like the tutorial.
Mint16 disk burnt from downloaded iso from mint.
Code: Select all
sudo -i
apt-get install lvm2
fdisk -l
4.1 Partition the disk (/dev/sdc) to MBR (default option).
4.2. Create /dev/sdc1 size 512MB formatted as ext2 and flagged as "boot".
4.3. Create /dev/sdc2 unformatted using the rest of the disk.
Code: Select all
pvcreate /dev/sdc2
vgcreate lm13 /dev/sdc2
lvcreate -L 15G -n root lm13
lvcreate -L 5G -n swap lm13
lvcreate -L 29G -n home lm13
ls /dev/mapper
mkfs -t ext4 /dev/mapper/lm13-root
mkfs -t ext4 /dev/mapper/lm13-home
mkswap /dev/mapper/lm13-swap
In the partitioner, select "something else" - DON'T use the preselected option!
Press "Change" to edit the /dev/mapper/lm13-home partition:
Do the same for the /dev/mapper/lm13-root partition and assign it to /.
And change the /dev/sdc1 as follows:
After you assigned all partitions you should get something like this:
Make sure that "Device for bootloader installation:" at the bottom reads "/dev/sda" !
Check that everything is OK and press "Install Now".
7. After the installer finishes, DON'T reboot !!!
Code: Select all
mount /dev/mapper/lm13-root /mnt
mount /dev/mapper/lm13-home /mnt/home
mount /dev/sdc1 /mnt/boot
cp /etc/resolv.conf /mnt/etc/
mount --bind /dev /mnt/dev
chroot /mnt
mount -t sysfs none /sys
mount -t proc none /proc
mount -t devpts none /dev/pts
apt-get update
apt-get install lvm2
since lvm is already present it does not update the initram file and because I do not know how to do that manually I
Code: Select all
apt-get purge lvm2
apt-get install lvm2
Code: Select all
blkid
The screen should look similar to that:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="bef3dfcf-eda3-4f36-bca5-3b3da8d11b84" TYPE="ext2"
/dev/sda2: UUID="olwatC-fcdl-atIX-m4a7-suCY-uoXo-bjhfJd" TYPE="LVM2_member"
/dev/sdc1: LABEL="USBDISK" UUID="D4B7-1DAB" TYPE="vfat"
/dev/mapper/lm13-home: UUID="079228e8-a467-4cfc-9bb1-66586a5c7f39" TYPE="ext4"
/dev/mapper/lm13-root: UUID="862e50e7-6683-4da9-b7ed-c4dc77b3ebad" TYPE="ext4"
/dev/mapper/lm13-swap: UUID="045c015c-75a9-4561-b747-1db9f6a9d1b5" TYPE="swap"
/dev/dm-5: UUID="045c015c-75a9-4561-b747-1db9f6a9d1b5" TYPE="swap"
Code: Select all
umount /dev/pts
umount /proc
umount /sys
exit
umount /mnt/dev
umount /mnt/home
umount /mnt/boot
umount /mnt
sync
This is where I am faced with the grub rescue.
Code: Select all
ls
list of hdds (hd0) (hd1) ... (hd3) (hd1,msdos2) ... (hd3,msdos2) (hd3,msdos1)
ls (hd3,msdos1)/
list of folders /grub ... [no /boot] list of vmlinuz-3.11.0-12-generic initrd.img-3.11.0-12-generic
set prefix=(hd3,msdos1)/grub
insmod normal
insmod lvm
ls
now the list includes (lvm/lm13-root) ... (lvm/lm13-swap)
set root=(lvm/lm13-root)
insmod linux
linux (hd3,msdos1)/vmlinuz-3.11.0-12-generic root=(lvm/lm13-root) rootdelay=90 ro
initrd (hd3,msdos1)/initrd.img-3.11.0-12-generic
boot
Can someone spot when I am going wrong ?
I presume that if I can enter the right details into the grub rescue I will go straight to mint16 login, ie bypass the (initfrms) prompt part ?
There I guess I would
Code: Select all
sudo update-grub
--edit--
read posts, to see why last post is the solution