LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-20-2005, 08:49 AM   #1
rgonzales
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Help adding 2nd removable HD (please)


Working with a laptop (IBM T41p) which has a drive bay. I added a 2nd hard drive even managed to partition it, format it, AND make it usable for me logged in as a non-root user (note, I didn't know how to make fstab handle the user permissions so I did a CHMOD -R 777 on it, if there is a better way...

The issue is when I remove the drive to put the CD/DVD drive in the drive bay, the system only boots to Maintenance Mode and fsck fails on /dev/hda2 (root partition). Swapping the CD/DVD drive with the newly created Hard Drive, everything works again. I'm sure this is something stupid simple but I would really appreciate any insight to solving this problem. Here is my FSTAB file:

/dev/hda2 / reiserfs acl,user_xattr 1 1
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hdc1 /media/demo reiserfs user,acl,user_xattr 1 2

Any help would be greatly appreciated.
 
Old 12-20-2005, 08:53 AM   #2
Keruskerfuerst
Member
 
Registered: Oct 2005
Location: Lat: 482356N, Lon: 104145E
Distribution: Gentoo 2006
Posts: 720

Rep: Reputation: 32
try to change
/dev/hdc1 /media/demo reiserfs user,acl,user_xattr 1 2
to
/dev/hdc1 /media/demo reiserfs noauto,user,acl,user_xattr 1 2
 
Old 12-20-2005, 09:10 AM   #3
rgonzales
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for the fast reply. Adding noauto to the FSTAB file did not change the symptoms. Replacing the 2nd HD with the CD/DVD still as the system booting to Maintenance Mode with a fsck failure.

Did I partition this incorrectly? It's like the system thinks it is part of the root partition, won't boot with out it?!

Any other ideas? Thank you again.
 
Old 12-20-2005, 12:47 PM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,455

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
Time to look at dmesg and see what it did say.

In "maintenance mode," check to see what filesystems are mounted, and what drives they belong to. (Command: mount.) Where is the root-partition?

Do you know that the drive that's in there now is, in fact, ReiserFS? Do you know that the fsck that's being run is the right one for this drive?

In maintenance mode, you should be able to issue fsck commands manually. Gotta figure out what Linux thinks it's seeing. In maintenance mode, at a root prompt, you should be able to see.

The /var/log/... files (or whatever, on your system) should tell you more.
 
  


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
Adding 2nd mouse to SuSE 9.0 pjbgravely Linux - Distributions 2 07-05-2004 01:45 AM
adding 2nd domain or website spooge Linux - Networking 1 02-26-2004 09:59 AM
Adding 2nd Linux to LILO froedi Linux - Newbie 11 12-31-2003 06:34 AM
Adding a 2nd CPU to RH7.3 jyusko Linux - Hardware 4 06-22-2002 12:10 PM
Problem with adding a 2nd NIC to RH 7.0 IHawk Linux - Networking 0 02-18-2001 10:44 PM


All times are GMT -5. The time now is 03:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration