LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-30-2007, 08:25 PM   #1
frazelle09
Member
 
Registered: Dec 2004
Location: Mexicali, Baja California, México
Distribution: PCLinuxOS 2016 - 64bit on four machines, including a laptop.
Posts: 117

Rep: Reputation: 17
> Hard disk not recognized correctly, Using PCLinuxOS and ReiserFS


Have been having problems with my hard disk. It finally stopped booting. i got another one, installed it and installed the old one, a Maxtor DiamondMax Plus8, as slave.

Ran >
[root@LaGrandota frazelle09]# fdisk -l

Disk /dev/hdb: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 8355 17985 77350270 83 Linux
/dev/hdb2 9630 21708 97014885+ 83 Linux
/dev/hdb3 8355 16710 67109888 0 Empty
Partition 3 does not end on cylinder boundary.
/dev/hdb4 8355 16710 67109888 0 Empty
Partition 4 does not end on cylinder boundary.

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 83 Linux
/dev/sda2 1276 9730 67909306+ 5 Extended
/dev/sda5 1276 9730 67909275 83 Linux

The first disk is the injured one. It is obviously not detected correctly. It is only 40 GB in size (C/H/S = 4998, 255, 63). MCC (The "Control Panel from PCLinuxOS, Hardware tab, reports two disks, hda and hdb.) Hdb correctly reports two partitions as hdb1 and hdb2.

There is another tab in Control Panel called Run Config Tool. This runs something which looks like GParted and which would allow me to mess with the partitions. i say "mess" because at this point when i select hdb1 it has a tab to select Mount point. i chose /boot because it didn't offer "/" and when i did so, it listed a number of files which i remember being on this partition -- mainly the OS, /home is on the other, hdb2, partition.

First question: Should i "keep" Mount Point /boot, or use "/" or does it make any difference? i don't care about booting this thing again, just want to get my files from the second partition. i answered my own question... when i tried to select "/", it squacked and said that that Mount Point was already in use. So i used /boot and it offered to move all my files there.

Second question: The other tabs are: Resize, Format, Delete. If i choose Format, it asks for a file type. i was using reiserFS but it is not detected as such. It shous up as Ext2. If if i format this partition, will this wipe all the info?

Thanks for any help and have a great evening!

Last edited by frazelle09; 11-30-2007 at 08:28 PM. Reason: Add info
 
Old 11-30-2007, 09:18 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,769

Rep: Reputation: 107Reputation: 107
Hya,

If I understand correct,

First answer: I think, any penguin (on which you can run fdisk), / is already mounted. lilo (or something else) defines which partition (ie, /dev/hdc2, /dev/sda1...) is mounted as /.

Second answer: most probably data will go away.

These are answers.

Following are suggestions.

First suggestion: Make back-up onto physically different drive right away, so that you will not lose data.

Happy Penguins!
 
Old 11-30-2007, 09:31 PM   #3
frazelle09
Member
 
Registered: Dec 2004
Location: Mexicali, Baja California, México
Distribution: PCLinuxOS 2016 - 64bit on four machines, including a laptop.
Posts: 117

Original Poster
Rep: Reputation: 17
Thanks, Kaz! i'll keep working on it. Maybe i can run some filesystem check or rebuild or something like that. i saw somewhere that i might be able to rebuild the superblock, whatever that is.

Have a great evening!
 
  


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
Ubuntu doesn't identify my hard disk correctly zupidupi Linux - Hardware 9 10-16-2006 03:39 PM
Hard disk not recognized by Woody edhe1 Linux - Newbie 1 09-02-2006 06:44 PM
need ***EXPERT*** REISERFS hard disk help! synaptical Linux - Hardware 2 06-26-2005 04:00 PM
hard disk not recognized by linux rajatvig Linux - Hardware 6 05-09-2005 09:39 AM
Hard disk size not showing correctly niranjan_mr Linux - Software 4 01-29-2005 06:10 AM

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

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