LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-16-2007, 09:03 AM   #1
Voelcker
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Rep: Reputation: 0
Question What's up with Fedora's LVM & Grub?


I don't need a solution so much as an explanation because I resolved my problem as described below. Here's the scoop:

I have a system with 3 SATA II drives:
  1. sda - 80 GB with Windows XP Pro
  2. sdb - 250 GB Data Disk
  3. sdc - 250 GB with Fedora 6
I wanted to dual boot with Fedora 6 & Windows XP Pro and have Grub installed on the MBR rather than sdc and go through the extra steps of letting Windows think it's the boot loader...

Anyway I installed Fedora at least 6 times in the last 72 hours each time with the same default settings. Each time I would reboot I never saw a Grub menu and instead the machine booted right to Windows XP (even though I left the default option to have Fedora as the default boot target).

This morning I tried a different approach. Rather than letting the Fedora install automatically partition sdc using LVM and LogVol's I manually partitioned using simple partitions, /boot - ext3, / - ext3, /home - ext3, and swap and remaining free space as logical partitions on an extended partition. Proceeded with the rest of the install and rebooted, and this time I got the beloved Grub boot menu.

So please tell me why Fedora/Grub doesn't like it's own auto-partitioning (on Sata drives) but will work with basic manual partitioning. On a side note, a few months ago I installed FC6 on my laptop (no dual boot) with basic IDE drive and it was using the default Fedora LVM partitions. So does the Grub/LVM/SATA combination not play well together?
 
Old 03-16-2007, 06:51 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
When you installed it using the non-lvm partitions, you unknowingly solved the problem by creating a /boot partition. Actually, you wouldn't need the /boot partition for non-lvm setup but you do need it when using lvm.
This site explains it quite well but in case you missed it, the bios can't read lvm. If you don't create a /boot partition, then grub files are located within the lvm partition. Therefore grub can't be accessed and is not usable.
http://www.redhat.com/docs/manuals/l...titioning.html
Quote:
Do not create your /boot partition as an LVM partition type. The boot loaders included with Red Hat Linux cannot read LVM partitions and you will not be able to boot your Red Hat Linux system.
I haven't felt much of a need to use lvm at home but, if you do, just make a separate little /boot partition and you should be ok.
 
Old 03-16-2007, 07:40 PM   #3
Voelcker
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Original Poster
Rep: Reputation: 0
That certainly makes sense, however if I'm not mistaken the default Fedora partitioning scheme creates a non lvm /boot partition and then using lvm creates the / and swap partitions. So it seems to me that there's more to it than simply having /boot as a standard parition outside of lvm.
 
Old 04-02-2007, 11:59 PM   #4
tribeaffeldt
LQ Newbie
 
Registered: May 2004
Location: Madras, OR
Distribution: Fedora Core 6
Posts: 6

Rep: Reputation: 0
no auto boot partition

Voelcker,
I'm having similar problems with Fedora's own auto partitioning, and I'm quite certain there is no /boot. On my machine FC6 simply will not install on the partitions anaconda thinks that it is making.
 
Old 04-03-2007, 05:35 AM   #5
Voelcker
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Original Poster
Rep: Reputation: 0
I finally ditched Fedora and went with OpenSuse 10.2. Excellent distro! I think it blows Fedora out of the water!
 
Old 04-05-2007, 03:07 PM   #6
headly21
Member
 
Registered: Jul 2005
Location: Orlando, FL
Distribution: Fedora 11
Posts: 64

Rep: Reputation: 15
Quote:
Originally Posted by Voelcker
I finally ditched Fedora and went with OpenSuse 10.2. Excellent distro! I think it blows Fedora out of the water!
That's an interesting claim. What reasons do you have to support it?
 
Old 04-05-2007, 04:15 PM   #7
Voelcker
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Original Poster
Rep: Reputation: 0
  1. I don't loose my sound every time I run an update.
  2. OpenSUSE 10.2 recognized my NTFS windows drives (not partitions) and mounted them as /windows/C and /windows/D. I think Mandriva does this also, I can't remember... (granted this may be a simple manual step but the fact the the install does it for me was nice -- also I've skimmed forums where it seems getting Linux to recognize an NTFS partition/drive isn't as easy as it aught to be.
  3. Between Fedora 6, Mandriva 2007, Ubuntu 6.10, and OpenSUSE 10.2, OpenSUSE 10.2 came the closest to zero-customization post install to do what I wanted to do...
  4. The new KDE and Gnome start menu layout is awesome (especially in KDE)
  5. I used the x64 version and all my software (as far as I can tell) is 64 bit, Firefox, Java, etc.

To be specific for # 3, I didn't have to go through installing an RPM to add a YUM repostitory to be able to install the nVidia drivers from Livna (for Fedora), and I didn't have to compile the drivers from source as with Mandriva. (OK so installing the nVidia drivers is about the same for Ubuntu and OpenSUSE -- add a repository and off you go...). I also didn't have to beat around the bush to get Beryl installed. And most importantly for me was that OpenSUSE 10.2 was the easiest to get my twin view/dual head setup working. Maybe this could have been easier with the other distros if I had been using 2 LCDs or 2 CRTs instead of 1 LCD and 1 CRT... I'll never know since I have since replaced my CRT with another LCD.

That's about all I can think of at the moment...

Last edited by Voelcker; 04-05-2007 at 04:18 PM.
 
Old 04-06-2007, 12:13 PM   #8
headly21
Member
 
Registered: Jul 2005
Location: Orlando, FL
Distribution: Fedora 11
Posts: 64

Rep: Reputation: 15
Well, between my researching distros and the points you've made, I am seriously considering ditching FC6 and going with OpenSUSE. Thanks for your observations. I am taking them into consideration, since I am currently having issues with booting (my bad for effing with my fstab) and not being able to modify fstab. This is, in my opinion, not necessarily a distro-specific problem, but nonetheless, I am aware of the collective weeks that I have spent troubleshooting this distro, even if I am learning more about Linux in the process, and the improvement upon this if I go with SUSE or Mandriva.
Thanks again!
 
Old 04-06-2007, 01:34 PM   #9
Voelcker
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Original Poster
Rep: Reputation: 0
I hosed my fstab once to the point where it wouldn't boot. I'm sure you've read or at least been given this suggestion (I'd be surprised if you haven't) but I'm going to offer it just in case. You should be able to use the grub prompt to modify the fstab file then reboot.
 
Old 01-20-2008, 11:48 PM   #10
szandor
Member
 
Registered: Jun 2006
Posts: 32

Rep: Reputation: 15
Quote:
Originally Posted by Voelcker View Post
  1. I don't loose my sound every time I run an update.
  2. OpenSUSE 10.2 recognized my NTFS windows drives (not partitions) and mounted them as /windows/C and /windows/D. I think Mandriva does this also, I can't remember... (granted this may be a simple manual step but the fact the the install does it for me was nice -- also I've skimmed forums where it seems getting Linux to recognize an NTFS partition/drive isn't as easy as it aught to be.
  3. Between Fedora 6, Mandriva 2007, Ubuntu 6.10, and OpenSUSE 10.2, OpenSUSE 10.2 came the closest to zero-customization post install to do what I wanted to do...
  4. The new KDE and Gnome start menu layout is awesome (especially in KDE)
  5. I used the x64 version and all my software (as far as I can tell) is 64 bit, Firefox, Java, etc.

To be specific for # 3, I didn't have to go through installing an RPM to add a YUM repostitory to be able to install the nVidia drivers from Livna (for Fedora), and I didn't have to compile the drivers from source as with Mandriva. (OK so installing the nVidia drivers is about the same for Ubuntu and OpenSUSE -- add a repository and off you go...). I also didn't have to beat around the bush to get Beryl installed. And most importantly for me was that OpenSUSE 10.2 was the easiest to get my twin view/dual head setup working. Maybe this could have been easier with the other distros if I had been using 2 LCDs or 2 CRTs instead of 1 LCD and 1 CRT... I'll never know since I have since replaced my CRT with another LCD.

That's about all I can think of at the moment...
yeah, this thread is a few months old but i came across it through a search and found the supporting arguments for the claim ridiculous...

1. i've been using fedora since core 1. i've never had a problem with getting sound to work. not sure how each distro handles the sound server but i guess if you just blindly update your system, that could cause more problems than with just sound.

2. any external ntfs drive i connect to my system is auto-mounted in fedora. i'm not sure why you would need to auto-mount an ntfs hard drive that's not portable unless you're dual booting or have some type of windows compatibility need but like you said, it's simple to mount it after installation. i guess that feature in suse, which can be set up as a post install script with any distro, is for people that can't get their windows apps/hardware working in linux. poor fellows. i've never had a problem with ntfs-3g and linux. even before write support, samba, linux, and windows worked as expected. in fact, it's quite easy.

3. unfortunately, i've yet to find any distro that's come anywhere close to zero-customization. i've always had to install fluxbox and copy over my .conf files. i mean it would be nice if cedega was completely set up after an install so i could install world of warcraft out of the box but i'm sure that day will come soon. actually, with revisor, kickstart, and acronis, i could respin my own iso and just keep it up to date. as far as yum, you do realize you can include any repository during install? people use repos other than livna. some don't use livna at all. or yum for that matter. as beryl has been replaced by compiz fusion, it's the first time i've used it but i yum'd all the packages for compiz and it runs perfectly. took a minute or so to install and forever to configure. although, that's due to all the compositing features and plug-ins. i'm always finding something new to tweak in the ccsm. i can even do screencasting while recording sound from the mic. really though, in my opinion, they're all the same to me. the only difference in use i've found is with the distro's installation interface and package managers. or bsd-like init systems.

Last edited by szandor; 01-20-2008 at 11:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub/LVM boot problem jkoshi Fedora 6 02-28-2007 10:48 AM
grub thinks my root is LVM, its ext3. can not boot. tripmix Linux - Software 2 02-22-2007 01:20 AM
grub, lilo and LVM help please tredegar Linux - Newbie 3 12-16-2005 11:45 AM
Partition type LVM & Raid siawash Linux - Newbie 16 07-13-2004 06:37 PM
Fedora's Firewall & FTP Moebius01 Fedora 8 03-30-2004 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration