[Bug 1265402] Re: Trying to install saucy on a kvm vm. always crashes installing the bootloader.
Barry Kolts
bhkolts at gotrain.org
Sun Jan 12 22:07:34 UTC 2014
I found this on the Archwiki
https://wiki.archlinux.org/index.php/Btrfs#GRUB
Missing root
Users experiencing the following: error no such device: root when
booting from a RAID style setup then edit /usr/share/grub/grub-
mkconfig_lib and remove both quotes from the line echo " search --no-
floppy --fs-uuid --set=root ${hints} ${fs_uuid}". Regenerate the config
for grub and the system should boot without an error.
>From the Saucy live-cd i used gparted to create the files system with
/dev/vda1 btrfs and swap on /dev/vda and /dev/vdb1 btrfs o /dev/vdb. I
set /dev/vda as the boot device. I then exited gparted and opened a
terminal and ran
sudo mkfs.btrfs -L RAID1 -m raid1 -d raid1 /dev/vda1 /dev/vdb1
sudo btrfs device scan
I then exited the terminall and installed Saucy. When the partitioner
starts chose "Something else". Mount / on /dev/vda1 but do not format or
you will destroy the raid. When the installer complains it can't install
the boot loader choose "Continue without installing boot loader".
When the installer is through, click on "Continue to try" rather than
restart. Open up a terminal and
sudo mount /dev/vda1 /mnt
sudo gedit
When gedit launches navigate to/usr/share/grub and open grub-mkconfig_lb
and remove the quotes from
echo " search --no-floppy --fs-uuid --set=root ${hints} ${fs_uuid}"
save the file and exit gedit. Now back in the terminal type
sudo grub-install --root-directory=/mnt/@ /dev/vda
/mnt/@ because the Saucy installer mount / on subvolume @ and mounts
/home on subvolume @home.
When that is done you should be able to reboot into the system.
I'm using /dev/vda instaed of /dev/sda because I installed this on a KVM
virtual machine. Also this is my first experience with btrfs and
installing Grub from scratch and post my experience as maybe helpful in
fixing Ubiquity.
Barry
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1265402
Title:
Trying to install saucy on a kvm vm. always crashes installing the
bootloader.
Status in “ubiquity” package in Ubuntu:
New
Bug description:
Trying to install Saucy on a KVM vm. The filesystem is /vda1 mounted
on /boot, vda2 and vdb1 ate btrfs raid1 swap is on vda. Installer
always says it can't install bootloader on vda, pick another device.
But no device works. I'v tried many time with different configurations
of the virtual disks, always ends the same.
Thanks,
Barry
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubiquity 2.15.26
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CasperVersion: 1.336ubuntu1
Date: Wed Jan 1 19:19:46 2014
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1265402/+subscriptions
More information about the foundations-bugs
mailing list