Grub installer confused when preparing a software RAIDed Ubuntu 11.10?

Ubuntu 11.10’s ‘alternative’ installer gives the opportunity to set up software RAID-1 as part of the system installation. It works, but there is a caveat: you may find that when you install Grub the installer wants to put it on both disks. I think this may be because the Grub installer’s a bit confused about the whole RAID thing. You can tell it which disks to install on (choose the first) and as far as I can tell it will then go onto the RAID-1 partition (and hence both physical disks) OK.

Incidentally I've got the RAID set up across the whole of both physical disks, by having the whole of each marked for RAID and then when this change has been committed to the partition table allowing the installer to auto-partition the single virtual RAID volume which then appears in the list of volumes. I found that I had to reboot after creating the virtual RAID volume. The installer was being sulky and failing to create all the partitions; second time around it read the new partition information and created the partitions on the virtual volume perfectly.

EDIT: See also http://ubuntuforums.org/showpost.php?p=11463430&postcount=7 which seems to tally with my thinking

Aside

If you read about RAID on Linux you get an awful lot of slightly out of date information, especially around HOWTOs which are dauntingly complicated if-then-else-not affairs with modification dates five years and more in the past.

It’s not that uncommon to find this kind of document-rot: sometimes it means nobody who is anybody is using the technique any more. That could be true for RAID in a world of cloud-based redundancy. I think there is another explanation, because Ubuntu is pulling in lots of users like me who set up machines real and virtual several times a year but don’t specialise in it and so do not like having to do complex non-standard installs. I think that Ubuntu’s alternate install installs software RAID just well enough that the docs are redundant.

Published on 12/01/2012 at 22:45 by Technophile, tags , ,

Can't log in to Ubuntu 10.04 on a 2006 Shuttle XPC?

This is just on the offchance that somebody does what I’ve just done and upgraded from a desktop Ubuntu 9.04 installation on a Shuttle XPC (this one is a 2006 AMD64 model with motherboard graphics only) that has a 1600 x 1200dpi monitor attached.

After the upgrade you may find you cannot log in using the standard GNOME graphical interface. When you do so, the monitor blanks for a few seconds and then you are returned to the login screen. But at the bottom of the screen is a small menu allowing you to choose whether to log in with regular GNOME, an xterm, or failsafe GNOME. Try failsafe GNOME, and if you can log in successfully use system > preferences > monitors to reduce the screen resolution, then try the regular GNOME login again.

Update I think that I have an i386 install of Ubuntu (not entirely sure why). That might explain why the video driver, which I believe is OpenChrome, won’t load. The integrated chipset in the machine (Shuttle SK21G) is entirely geared to the AMD Sempron, a 64-bit chip. Falling back to the failsafe video driver gets around the problem, but this is obviously far from a good solution :-(

Published on 16/02/2011 at 14:37 by Technophile, tags , , , ,

Powered by Publify – Thème Frédéric de Villamil | Photo Glenn