LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2007, 04:19 AM   #1
phipper
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
Re install of fedora core 6 on 2nd hard drive causing problems


Hi all

Happy new year to everyone, this is my first post but these forums have been so helpful in the past, so many thanks are overdue!

Ive been dabbling with Redhat and Fedora for a few years but never really got past setting it up as a web server that I just leave running in the corner. A few months ago I took the plunge and switched my main workstation to Fedora Core 6

All was well until either something I did or an update really messed it up (it just got me to a plain text login screen). I decided to re install the lot onto a 2nd harddrive.

I unplugged hda and installed onto hdc. Everything worked well and the setup is really sweet now, just how I like it. OK, next stage, get the old data from hda.

When I plug hda back in, I boot to the text login, make a mount point and do this:-
mount /dev/hdc2 /mnt/hd2

Which gives me the following errors:-
hfs: unable to find HFS+ superblock
mount: you must specify the filesystem type

What am I doing wrong? I have been able to copy some of the data with a USB pen drive but the thought of copying 40gb worth of data via a 512mb pen isnt good! I may resort to using my 60gb ipod as an external hard drive but there must be an easier way!

Help!

Phil
 
Old 01-05-2007, 10:51 AM   #2
munkie_poo
Member
 
Registered: Apr 2004
Location: Newcastle, UK
Distribution: Slackware 10.2
Posts: 134

Rep: Reputation: 15
Id check your /etc/fstab, hfs+ is an apple file system.

I dunno what filesystem your using but probably in fstab should say something like:
/dev/hdc2 /mnt/hd2 ext3 defaults 0 1

changing ext3 to whatever filesystem you use.
 
Old 01-06-2007, 05:25 AM   #3
phipper
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah, but why will the 2nd hard drive boot perfectly Ok when I unplug the first drive?

With two HDs plugges in I get the error, with one, I dont?

Phil
 
Old 01-06-2007, 07:39 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
If you are using a Windows partitioning scheme (one primary and some extended partitions), chances are you cannot boot an operating system on a second or third hard drive etc. You can only boot an operating system on the first (primary) hard drive. Which is why everything works when using just one HDD. When you enable the original first HDD........you can't boot from the second.

Correct me if I'm wrong,
Ps: got a couple + beers in me so take my reply with a grain of salt!
 
Old 01-06-2007, 08:30 AM   #5
birchyboy
LQ Newbie
 
Registered: Nov 2006
Location: Midlands, UK
Distribution: Open SuSE 11
Posts: 11

Rep: Reputation: 0
phipper

If you want to see how to install a lot of operating systems and multiple drives, you might try saikee's advice at http://www.justlinux.com/forum/showthread.php?t=147959

Or of course just email him ...
 
Old 01-07-2007, 09:31 AM   #6
phipper
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up Fedora on 2 HDs

Thanks for the replies guys, (and the link)

I did state in my original post that it was two fedora installations.

Ive managed to transfer the files using my wifes 60gb ipod, so Im going to close this thread.

Im then going to put XP onto the first HD and see if it will play ball as a dual boot.

Phil
 
Old 01-07-2007, 10:51 AM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Make a grub boot disk before you do that. Windows will overwrite the MBR of the 1st drive, and it won't give you and easy way of booting linux. With a grub floppy made, with the floppy in you boot to fedora, and with it out you boot to windows.

By the way, all you were missing in the mount command was the filesystem type. If you had done,
Code:
mount -t ext3 /dev/hdc2 /mnt/hd2
you probably would have been fine. With no filesystem specified, the mount command won't be happy. Use the man pages "man mount" would have shown you that easily.

Peace,
JimBass
 
Old 01-07-2007, 12:48 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I think it would be useful for any user installing a stand-alone Linux by removing the other disk to know that there will be a record kept for the installation being in the first bootable disk. When a second disk is hooked back the disk order could be messed up.

We could only comment on the problem if we know what hdc2 partition is. For that we need to see the output of "fdisk -l".

The title is a bit misleading as it implies putting Fedora Core 6 in the second disk can cause a problem but it doesn't. I have FC2 to FC6 spreading between 4 disks.

On the filing type at time of mounting modern Linux knows the filing types without being specified. That is certainly the case with all Linux filing systems and even all MS partition type but ntfs is not supported out of the box and needs module "ntfs-3g" to be "yum" in. When a Linux needs to ask the filing type it is usually the case that the filing system cannot be recognised.

My guess of hdc2 is that it could be a LVM which I don't use but I suspect it might need a different command for mouting it. That is the precise reason why I have stayed away from it.
 
Old 01-07-2007, 01:34 PM   #9
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
That is true, mounting a LVM is not as straight forward. There are advantages to the LVM, including the ability to easily resize partitions, and to add additional space with the addition of a new drive.

I have this link in my bookmarks from when I had /home spread as a LVM across 2 X 250 Gb satas. It is geared to knoppix/debian, but the commands to activate and mount the LVM are all here - http://www.knoppix.net/wikinew/index.php?title=LVM2

That is yet another reason I dislike the Fedora/rpm series of distros. Sticking folks new to *nix with LVM just makes recovering data really tough, at least much tougher than straight standard partitions. With all the GUI installers, I would think they could have a one page descriptor that says, LVM is good because A,B, and C, but bad because of X,Y, and Z. Do you want to use LVM? For*nix pros, the descriptor page is unnecessary, but few newbies know what it is, and how can can mess you up.

Peace,
JimBass
 
Old 01-07-2007, 02:01 PM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
JimBass,

I would forgive Fedora not doing that because Fedora/Red Hat's strength is for server applications and LVM could have its place there.

It is just the newbies wanting a Linux because of its popularity and don't care much about how easy and standardised it is relative to the others. To me if one chooses it one lives with it.

May be others are not aware but a Red Hat alsways want 2 partitions minimum; one as /boot and the other as a LVM. The reason is because no boot loader can read a LVM. Therefore to avoid LVM all one needs to do is to give the installer of Fedora/Red Hat distro "one" partition to mount its "/". Then everything will be installed in a single partition including /boot and no LVM can exist.

A Linux in a single partition is a lot easy to maintain, to boot, to resize, to be rescued, to mount, to migrate....
 
  


Reply



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
Problems installing Fedora/Mandriva on 2nd hard drive! drbongo LinuxQuestions.org Member Success Stories 0 05-10-2006 05:12 AM
fedora core 4 install from hard drive fedfan Fedora - Installation 7 02-10-2006 04:23 AM
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04:01 PM
problems reading iso fedora core 4 file from cd/hard drive tencan Fedora - Installation 6 10-31-2005 02:50 PM
Fedora Core 4:Install In USB Hard Drive Hangs when Hardware is probed pc615 Linux - Newbie 2 10-17-2005 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 AM.

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