Linked by Amjith Ramanujam on Thu 24th Jul 2008 21:12 UTC, submitted by sharkscott
Linux The GNU/Linux operating system is blessed to have sound partition management tools like GParted which are very easy to use. However, when it comes to the management of 'virtual partitions' known as volumes, things are quite different. There is Linux Volume Management, or LVM for short, however it can only really be used from the command line.
Thread beginning with comment 324432
To read all comments associated with this story, please click here.
I can sympathize
by cordis on Thu 24th Jul 2008 23:10 UTC
cordis
Member since:
2008-07-24

I can see where the author was coming from, I've had some LVM problems myself. After upgrading a bunch of machines to use SATA drives, I wound up with 9 or so old PATA drives, so I figured I'd toss them into my biggest case with an old motherboard (dual pentium 3 600mhz, clunky but it works), and wait for them to all burn out. So I tossed in a couple extra ide controller cards and tried installing ubuntu, and discovered that it doesn't support lvm out of the box. Not a big problem, just install on the first disk, then install lvm and a gui for it (system-config-lvm, found some special ubuntu install instructions for it on the web) and got it all set up, so the first disk would boot and it was all just a standard partition, and then the rest were all combined into a big lvm drive. And it kind of worked, although I had some strange video problems after that, but then I tried to redo the setup as a dual boot windows xp/ubuntu machine, and it all broke down. I could never get grub installed in any way that would allow me to boot linux, and trying a windows boot manager also didn't work. I tried reinstalling with both fedora and suse, they have lvm setup guis in their installation systems, but again, couldn't get either to boot. Given that I wanted the xp setup so I could still log into work machines from home, I wound up just going with an XP only setup, combining all the PATA drives with XP dynamic drive spanning.
And sure, I probably could have figured out how to set up my dream configuration, even with weird IDE bios issues, windows issues and lvm stuff, but it just got to the point where I didn't want to screw with it anymore. That's the real problem, even if you're motivated and willing to try obscure command line stuff, at some point you get tired of it. I think linux has gotten pretty good at supporting mainstream systems, I have a couple other systems running Ubuntu, but if you try to push it a little away from a plain vanilla setup, it can get real ugly. Not much of a complaint, really, so there are still some fringe areas where linux could be easier to use, just something to think about.

Reply Score: 1

RE: I can sympathize
by evert on Fri 25th Jul 2008 08:00 in reply to "I can sympathize"
evert Member since:
2005-07-06

Your problem is not related to LVM. The Windows installation overwrites the MBR and places it's own IPL (initial program loader) in the master boot record.

How to dual-boot? Don't install GRUB to the MBR, and if you do than make a copy of the MBR with dd if=/dev/sda of=/date.mbr bs=512 and copy that date.mbr file to a memory stick of something like that. Have a linux live CD like Knoppix nearby. Restore the MBR by issuing dd if=date.mbr of=/dev/sda, reboot into Linux, and edit /boot/grub/menu.lst to add the Windows partition to the Grub boot-up menu.

If you have GRUB not installed to the MBR, I recommend the SBM (Smart Boot Manager) http://btmgr.sourceforge.net/

Ontopic: I have never used LVM, because I believe (without proof) that simple partitions are easier to recover / fix. Simple partition schemes are more compatible with other operating systems, too, so a multiple OS envirenmont would maybe better do without LVM.

Reply Parent Score: 4

RE[2]: I can sympathize
by TemporalBeing on Fri 25th Jul 2008 17:16 in reply to "RE: I can sympathize"
TemporalBeing Member since:
2007-08-22

How to dual-boot? Don't install GRUB to the MBR, and if you do than make a copy of the MBR with dd if=/dev/sda of=/date.mbr bs=512 and copy that date.mbr file to a memory stick of something like that. Have a linux live CD like Knoppix nearby. Restore the MBR by issuing dd if=date.mbr of=/dev/sda, reboot into Linux, and edit /boot/grub/menu.lst to add the Windows partition to the Grub boot-up menu.


Or just re-run the grub install from a LiveCD that mounts your root partition for you. It'll work just as well, if not better.

Reply Parent Score: 1