LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 09-26-2006, 09:24 PM   #1
ernst
Member
 
Registered: May 2006
Location: Sydney
Distribution: Debian etch, SkoleLinux
Posts: 77

Rep: Reputation: 15
Mounting old HDD containing FC5 (LVM)


Hi
I want to switch to K12LTSP - FC5 while being able to boot my current FC5 installation until I am satisfied with the new installation.

The plan:
I connect a second (new) SATA drive. Disconnect the old one and
install K12LTSP-FC5 from scratch.
Reconnect old drive and mount it readonly on say /mnt/old
so that I can copy over user data and refer to old configuration.
I am working with 2 HDDs to be sure I won't loose data by
(my) mistake.

I wonder if this is going to work. I have never before explicitly
mounted a HDD that uses LVM.
 
Old 09-27-2006, 12:52 AM   #2
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 240

Rep: Reputation: 36
Why did you disconnect the drive? You shouldn't have to disconnect anything to dual-boot. In fact, I would think it would create more problems.
 
Old 09-27-2006, 11:26 PM   #3
ernst
Member
 
Registered: May 2006
Location: Sydney
Distribution: Debian etch, SkoleLinux
Posts: 77

Original Poster
Rep: Reputation: 15
Disconnect just to be sure I do not affect the old installation in any way while installing the new system. That should be foolproof.

My doubts are about mounting on FC5 a second disk also containing a complete FC5 installation with LVM.
 
Old 09-28-2006, 01:44 AM   #4
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 240

Rep: Reputation: 36
Ok, now you have two discs with two boot loaders. How do you expect the second OS to be an option? The way you have it set up, you have to physically swap the drives and possibly change the jumpers EACH time you want to boot to the other.
 
Old 09-29-2006, 08:24 AM   #5
ernst
Member
 
Registered: May 2006
Location: Sydney
Distribution: Debian etch, SkoleLinux
Posts: 77

Original Poster
Rep: Reputation: 15
In the BIOS I can specify from which disk to boot.
However when I boot from the new installation I would also like to
mount the old disk readonly to say /mnt/old.
Once I am satisfied with the new installation and have copied everything
useful then I remove the old disk.
 
Old 09-29-2006, 01:09 PM   #6
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 240

Rep: Reputation: 36
$mount -r <device-file-name> <mount-point>
 
Old 10-18-2006, 06:13 AM   #7
ernst
Member
 
Registered: May 2006
Location: Sydney
Distribution: Debian etch, SkoleLinux
Posts: 77

Original Poster
Rep: Reputation: 15
I think I found the answer:
http://www.tldp.org/HOWTO/LVM-HOWTO/...gtonewsys.html

Have not yet tried it!
 
Old 10-25-2006, 04:26 AM   #8
ernst
Member
 
Registered: May 2006
Location: Sydney
Distribution: Debian etch, SkoleLinux
Posts: 77

Original Poster
Rep: Reputation: 15
Back to square one. I am booting FC5 from disk /dev/sda.
I have a second disk with a full FC5 installation connected and it
shows as /dev/sdb

Mount as suggested above does not do it:
mount -r -t ext3 /dev/sdb2 /mnt/old
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,

http://www.tldp.org/HOWTO/LVM-HOWTO/...gtonewsys.html
also does not help. Firstly I can not unmount it because it was created by the
FC5 default installation and contains most of the running system. So unmount reports that it is busy. So I cannot mark the volume group inactive. This is the first part of the recipemovevgtonewsys.html
So I simply connect the disk to the new system.
My second disk shows up as /dev/sdb2
but none of the commands pvscan, vgscan and lvscan reports that disk or the volumes on it.
 
  


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
How to update FC4 -> FC5 with LVM when Anaconda does not exclude other VGs? Why_Why Fedora 3 08-03-2006 05:32 AM
need quick rply HDD LVM question winchester169 Linux - Hardware 1 07-27-2006 11:00 PM
Boot problem with LVM using Ubuntu 6.03 as secondary linux distro with FC5 and Win XP grandpa-geek Ubuntu 4 06-25-2006 12:18 PM
Extending /home with additional HDD but no LVM derekluaxp Linux - Newbie 5 02-25-2006 09:35 AM
Mounting a JFS LVM vbtalent Fedora 4 08-29-2005 11:28 AM


All times are GMT -5. The time now is 05:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration