LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-29-2003, 11:56 AM   #1
Mikecore
Member
 
Registered: Dec 2003
Distribution: Fedora Core 1
Posts: 35

Rep: Reputation: 15
how to mount a second Harddrive


OK I did a super stupid NOOB thing

I have two harddrives both 80 gig

I had Mandrake on the first and Fedora Core on the sec.

I' m new to linux and I am trying out Different Destro to see
what i like the Best.

Anyhow I installed Gentoo on the First Harddrive it went fine
but when I went to reboot into Fedora
Grub hung up and it wouldn't boot.

Like a Big Dummy I forgot to write down my Grub settings for booting
Fedora when I installed Gentoo.

So i would like to mount my Second HardDrive while running Gentoo
too look at my Old Grub config file so I know what settings to set my new grub config file.

can this be done? and if so could you please tell me how ?

or is there a better way to fix my problem?
 
Old 12-29-2003, 12:06 PM   #2
sheldonl
LQ Newbie
 
Registered: Jan 2003
Posts: 5

Rep: Reputation: 0
do a mesg | more and look for the device name of your second harddrive, something like hdb hdc or hdd. then do mount /dev/hdX /mnt/mountpoint where X is the device name, and /mnt/mountpoint is the name of some directory under /mnt that exists. You'll have to do this as root.
 
Old 12-29-2003, 12:20 PM   #3
Mikecore
Member
 
Registered: Dec 2003
Distribution: Fedora Core 1
Posts: 35

Original Poster
Rep: Reputation: 15
ok i has able to mount my second harddrive

but where is the config file?

I tried in hdb2 /root/etc

it lists a grub.config file but when i open it its blank?

any help please?
 
Old 12-29-2003, 12:24 PM   #4
sheldonl
LQ Newbie
 
Registered: Jan 2003
Posts: 5

Rep: Reputation: 0
once you mount your other drive, say on /mnt/ go to a directory under there called boot, under that directory is another called grub, in that directory is a file call menu.lst this is the config file for grub. (If that directory is empty it means that your /boot of your other hard drive, is mounted from a separate partition, if so then look at the /mnt/etc/fstab file to see which partition is the old /boot, then mount that on say /mnt/oldboot/ and look under there.
 
Old 12-29-2003, 12:25 PM   #5
sheldonl
LQ Newbie
 
Registered: Jan 2003
Posts: 5

Rep: Reputation: 0
oops forgot the partition number on my first post, you'll need to mount /dev/hdXN where X is the device for that HD and X is the partition of your boot or / filesystem.
 
Old 12-29-2003, 01:17 PM   #6
Mikecore
Member
 
Registered: Dec 2003
Distribution: Fedora Core 1
Posts: 35

Original Poster
Rep: Reputation: 15
thanks for your help

I did what you said and it worked thanks again
 
  


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 mount an external Harddrive Stargod Linux - Hardware 5 07-11-2004 12:37 PM
mount another harddrive Longinus Linux - Newbie 3 05-23-2004 01:36 AM
How to mount my other harddrive ? Mikecore Linux - Hardware 4 12-17-2003 12:28 PM
Win Harddrive mount rhw007 Linux - Hardware 2 12-14-2003 02:23 PM
trying to mount windows harddrive drabbyroad Linux - Newbie 2 06-28-2003 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:02 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