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 02-24-2003, 06:38 PM   #1
pdmackenzie
Member
 
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135

Rep: Reputation: 15
error when booting after adding new hard drive...


Hello!
Yesterday, I added a new drive to my computer then rebooted it. Once in linux, I used the "hard drives" option in the "mount points" area of the "mandrake control centre" to format and assign the new drive (hdb). Subsequently I was able to read and write to the partition ("/shared", if anyone cares.)
This morning, however the system wouldn't boot properly (some sort of super block kind of error to do with 'hdb' ). I was able to get the system to boot by going into fstab and commenting out the line dealing with hdb1.

Please see the fstab listed below (the comment is still in place). Is there something 'goofy' about the offending line? I would really prefer not to reformat the drive again, as I have just transferred a lot of data there from my old disk.

/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext2 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
# /dev/hdb1 /shared ext3 defaults 1 2
/dev/hda2 swap swap defaults 0 0
/dev/hdb1 /mnt/hd auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0

thanks in advance for any suggestions you might have,
doug
 
Old 02-24-2003, 06:53 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
So, what is filesystem currently on /dev/hdb1? is it ext3 or something else... I see there are two entries for /dev/hdb1, so which one does give an error???
 
Old 02-24-2003, 07:02 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,815

Rep: Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335Reputation: 6335
Your fstab has it mounted twice.
> # /dev/hdb1 /shared ext3 defaults 1 2

> /dev/hdb1 /mnt/hd auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0

If there were not any errors then can you see you data on /mnt/hd? Just change /mnt/hd to /mnt/shared. I assume MDK added it automatically when it was created.

My initial guess is that it isn't formated as ext3.
 
Old 02-24-2003, 08:47 PM   #4
pdmackenzie
Member
 
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135

Original Poster
Rep: Reputation: 15
Hello!
For what ever reason that they were there, I guess it was the overlapping entries in the fstab that were the cause of my problems. Thanks for your help, and next time I will more of an effort to figure out a problem before posting!

regards,
doug
 
  


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 a second hard drive AxXium Slackware 9 03-24-2006 02:27 AM
Adding a new hard drive ckr Mandriva 1 03-23-2005 01:12 PM
adding hard drive linoj Linux - General 6 12-25-2004 12:51 PM
Hard Drive Error When Booting nrunge Linux - Hardware 3 11-09-2003 11:40 AM
Adding a new Hard Drive AMDPwred Linux - General 8 03-04-2002 04:57 PM

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

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