Peppermint | Linux OS Community Forum
 
It is currently Tue Oct 22, 2019 10:19 pm

All times are UTC - 5 hours [ DST ]





Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [One][Ice][Two] How To: Dual boot Peppermint and Fedora 13
PostPosted: Thu Aug 26, 2010 5:55 pm 
Offline
User avatar

Joined: Wed May 19, 2010 5:10 pm
Posts: 1352
Location: Asheville, NC, USA
Class: Filesystem and bootloader configuration
Difficulty: Intermediate, Requires knowledge of partitions and terminal experience
Time: Ten to Twenty minutes
Desirability: If you need a Fedora partition for any reason, this is essential

Synopsis:

Debian and it's children have an almost ludicrously simple way of setting up partitions. Some Red Hat derivatives, such as Fedora, install to a different partition type known as LVM. I won't go into the dirty specifics of the who/what/when/where/why, but I will tell you how to set up your bootloader so that it registers the LVM and will give you the option to boot into both.

Important: Make sure you have a Peppermint live CD/USB on hand if you opted to install the bootloader while installing Fedora. If you did not install the bootloader then this is significantly easier.

If you did install the bootloader in Fedora, you're going to need to boot into a Peppermint live image and reinstall grub using the following (presuming Peppermint is installed to sda1, change as necessary). If you didn't install the bootloader in Fedora, just skip this part:

Code:
sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sda


Then reboot back into your Peppermint install. As you may have noticed during the reboot, Peppermint will not recognize Fedora 13's right to exist. As a result we need to install the package that will allow it to read and mount LVM partition types:

Code:
apt install lvm2


Next we activate the LVM partition using:

Code:
sudo lvm vgchange  --ignorelockingfailure -P -a y


We can now check that Peppermint now reads the volume with the following command:

Code:
sudo pvs


Once this is done you can check that Fedora is now being considered an operating system using os-prober:

Code:
kendall@tristan ~ $ sudo os-prober
/dev/sda6:Linux Mint 9 Isadora (9):LinuxMint:linux
/dev/sda7:Debian GNU/Linux (squeeze/sid):Debian:linux
/dev/mapper/vg_tristan-lv_root:Fedora release 13 (Goddard):Fedora:linux


And now we can simply update the bootloader and it should include the LVM partition:

Code:
kendall@tristan ~ $ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-22-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-22-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Linux Mint 9 Isadora (9) on /dev/sda6
Found Debian GNU/Linux (squeeze/sid) on /dev/sda7
Found Fedora release 13 (Goddard) on /dev/mapper/vg_tristan-lv_root
done


From here, if you decide to install any additional operating systems, opt not to install the bootloader and simply boot back into your Peppermint partition and run "sudo update-grub" to register them. Have fun with it.

_________________
Developer and creator of Peppermint OS.

Google+: gplus.kendallweaver.com
Twitter: @kendalltristan

Peppermint is powered by VPS.NET Cloud Servers.


Top
 Profile  
 
 

Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL