LinuxQuestions.org
Review your favorite Linux distribution.
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 12-20-2005, 07: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, 07:53 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
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, 08: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, 11:47 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
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



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

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

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