Let op: Tweakers stopt per 2023 met Tweakblogs. In
dit artikel
leggen we uit waarom we hiervoor hebben gekozen.
Ubuntu and DMRaid, not quite there yet
I've been running Ubuntu 9.04 for some time now and of course I've also been wanting to upgrade to 9.10. I've been holding the upgrade off until last Saturday. Why? Because my root drive didn't have enough free space to run the upgrade so I had to do a re-install.
I suspected I would run into some problems and so I did.
So what should you do when installing Ubuntu 9.10 when your partitions are on a DMRaid? I've heard the most common "solution" too much: Wipe the drives and use Linux Software raid. I simply cannot do that because my system also boots Windows from time to time for gaming.
The real solution is actually quite easy but has some gotchas:
DMRaid wil now be installed and a new initrd will be generated with DMRaid.
I suspected I would run into some problems and so I did.
So what should you do when installing Ubuntu 9.10 when your partitions are on a DMRaid? I've heard the most common "solution" too much: Wipe the drives and use Linux Software raid. I simply cannot do that because my system also boots Windows from time to time for gaming.
The real solution is actually quite easy but has some gotchas:
- Boot the Ubuntu Installer
- In the the first menu, choose to start the Live CD.
- After booting Ubuntu, make sure you have a working internet connection
- Now click on the "Install Ubuntu" icon" and install as usual
- After the installation finishes: DONT REBOOT!
- Fire up a terminal and mount your new root partition and chroot into there
code:
1
2
3
| mount /dev/mapper/xxxxxx_Volumex /target chroot /target mount /proc |
- Install DMRaid
code:
1
| aptitude install dmraid |
DMRaid wil now be installed and a new initrd will be generated with DMRaid.
- Exit out of the chroot
code:
1
| exit |
- And reboot into your newly installed Ubuntu
Comments
Reading that makes me happy that my little server only runs debian, so linux-based software raid is possible. Initially, I tried DMRaid too, and ran into similar problems
In the end, I had to switch the S-ATA controller, lost all the data and switched to linux-sw-raid. It works like a charm, but that's no option if you have to multi-boot windows.
It still makes me wonder, though... Isn't there any solution out there that'll let you run linux software raid on windows?
Edit: Without running windows in a VirtualBox/VMWare, that is. Useful though they are, gaming in a virtual machine isn't very nice.
Edit 2: Hmm. If both the Gentoo and Arch wiki's suggest to use hardware raid, I must have remembered wrong. Drat
It still makes me wonder, though... Isn't there any solution out there that'll let you run linux software raid on windows?
Edit: Without running windows in a VirtualBox/VMWare, that is. Useful though they are, gaming in a virtual machine isn't very nice.
Edit 2: Hmm. If both the Gentoo and Arch wiki's suggest to use hardware raid, I must have remembered wrong. Drat
[Comment edited on maandag 22 februari 2010 22:58]
This is a common problem. GRUB2 really sucks the hell out of it. I've downgraded to GRUB-legacy on every dual-boot system I came across. I hate GRUB2. Everytime you edit the main menu file (grub.cfg), it just gets overwritten after a kernel-update. All your nicely customized settings gone, back to the (faulty) auto-probe values.
Hadron, the problem with software RAID is that you can't dual boot Linux and Windows, because Linux software RAID uses it's own disk layout which Windows doesn't onderstand.
So if you want to be able to boot both Windows and Linux, you need to use dmraid.
So if you want to be able to boot both Windows and Linux, you need to use dmraid.
I know it does, I just thought I'd seen a windows-driver for it somewhere.
Guess I was wrong
Guess I was wrong
Really nice, Thanks for this.
Comments are closed