LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 12-11-2004, 04:43 PM   #1
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Rep: Reputation: 30
Mount Duplicate


I have two Western Digital 80GB IDE hard drives that are connected to my motherboard through IDE to SATA converters. I popped in the FC3 CDs and did a fresh install and deleted all parititons and then did the auto partition feature. Both hard drives were detected and formatte but when I turn on the computer I receive an error message when trying to mount the file systems of mount duplicate. ANd then under Disk Management with User Mount Tool I see /dev/sdd1, /dev/hda/, /dev/hdb, and LABEL=/boot for the hard drive things.... How do I set the second hard drive up so it automounts on start up and has a proper name and everything so it doesnt fail? Ive always used 1 hard drive in Linux but now im going to be using 3 after my 3rd hard drive arrives.. If applicable I would like the two slave drives to show up as drives like what occurs when u plug in a thumb drive the device shows up on the desktop and I can open it and drag and drop files there.. I would like the two drives to show up like that so i can use them for placing backups in there.. Im sort of stuck and have done a bit searching on LQ but havent got anything working yet
 
Old 12-11-2004, 05:44 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Fedora uses partition lablels in the fstab file. The duplicate label error is when you have more then one partiton with the same name. You can use the tune2fs utility to change the name or change the fstab file to use device ID i.e. /dev/hdax instead of label=
 
Old 12-11-2004, 05:55 PM   #3
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
Whats the command to rename it?

Ive tried tune2fs -L /dev/hdb LABEL=whatever

but that was no success... When I do this will it automatically mount on boot since it has different labels from the rest or what do i have to do? And then what do i Have to do to make it show up as a folder like icon on my desktop so i can drag and drop files there?
 
Old 12-12-2004, 10:16 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
tune2fs -L whatever /dev/hdbx

Where x is the partition ID. If you do not know the partition IDs you can use the fdisk -l command.

If you have an entry in the fstab file then it will automatically mount at boot.

What desktop are you running?
 
Old 12-12-2004, 10:20 AM   #5
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
im running GNOME 2.8... I just reformatted and reinstalled FC3 due to a sound issue so ill try the fstab right now
 
Old 12-12-2004, 10:26 AM   #6
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
Ok I just did

tune2fs -L Backups /dev/sdb1



I received sdb1 from fdisk -l since the drive is IDE but is using a SATA converter so its s....

then it said tune2fs 1.35 (28-feb-2004)

And then i restarted the comp and the filesystems didnt fail this time.

However, how do I write to the drive? I really wouild like it to show up as a drive on the desktop or under Computer so I can drag and drop files there... Or do I have to remount it or what?
 
Old 12-12-2004, 11:33 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Create a directory to use as a mount point.
Do you have an /etc/fstab entry for this drive?

label=backups /mnt/whatever ext3 defaults 1 2

Change /mnt/whatever to the directory you created.

I really haven't used Gnome alot so I can't help you create a desktop shortcut. Try right clicking on an empty area and look at the options.
 
Old 12-12-2004, 11:38 AM   #8
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
With the fstab im not quite sure what to do for all of the parameters, this drive just has its single partition and is formatted for ext3 or whatever. I tried playing around with it a bit but no luck.
 
Old 12-12-2004, 11:55 AM   #9
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
Is this what I would want to add to the fstab then?

/dev/sdb1 / ext3 defaults 0 1

Last edited by TuxFreak; 12-12-2004 at 02:59 PM.
 
Old 12-13-2004, 01:15 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Quote:
Originally posted by TuxFreak
Is this what I would want to add to the fstab then?

/dev/sdb1 / ext3 defaults 0 1
No.

Did you try
label=backups /mnt/whatever ext3 defaults 1 2

If it didn't work what were the errors?

Your first post said sdd1 is it really sdb1? Try manaully mounting:

mount -t ext3 /dev/sdb1 /mnt/whatever
 
Old 12-13-2004, 02:34 PM   #11
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
I tried adding label=backups /mnt/whatever ext3 defaults 1 2 to fstab and I rebooted and the Filesystem failed it asked for my root password but it wouldnt let me type it in and got totally messed over... My new hard drive arrived today so ill have 2 to mount Hopefully it will go smoother. Im just going to reformat and reinstall Fedora and then start from there.

When I look up fstab information online I see the syntax is

<device> <mountpoint> <filesystemtype><options> <dump> <fsckorder>


Yes, I meant sdb.
 
Old 12-18-2004, 02:18 PM   #12
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
accidentally clicked twice

Last edited by TuxFreak; 12-18-2004 at 02:21 PM.
 
Old 12-18-2004, 02:21 PM   #13
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
Ok soo still not working.. Purhased a new PCI IDE controller and my main drive is a SERIAL ATA drive so after I installed FedoraCore3 and turned it off I plugged in the new controller and 2 hard drives one of them was showing up as already formatted in ext3 which I had done previously while the other had no partitions made so it didnt have a number after it... I did the

tune2fs -L storage /dev/hde1

and then in my fstab I did

/dev/hde/ / ext3 defaults 0 1


And I rebooted and it rebooted fine and I think it should have been mounted but under the Disk Management GUI in GNOME I dont see it listed but when i reopen fstab.conf I see the entry I made.... How do I have it auto mount and how do I have it show up undr "Computer" like the CD drives so I can open it up or whatever and drag and drop files there? I think if I get this drive sorted out I can do the next drive fine..... hde and hdf are the drives im trying to mount
 
Old 12-20-2004, 07:27 AM   #14
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
Help is still needed....
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate /boot partition, fail to mount oO0agentcow0Oo Linux - Newbie 1 07-27-2005 08:12 PM
Duplicate Mail makko Linux - Software 3 03-03-2005 08:07 AM
mount: LABEL =/boot duplicate - not mounted Agileuk Linux - Newbie 4 09-30-2003 06:58 AM
/boot duplicate (2nd hdd wont mount) dsiguy Linux - General 4 09-25-2003 01:46 PM
how to detect duplicate IP gsbarry Linux - Networking 2 02-21-2003 04:28 AM


All times are GMT -5. The time now is 05:38 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
Open Source Consulting | Domain Registration