Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Adding HD

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Dragonsfire
Posts: 58
Joined: 2007-05-15 16:14

Adding HD

#1 Post by Dragonsfire »

I had a crash a few days ago and couldnt get it back up again. I dl deb5 and installed it, it did not give me the option of adding my second HD, wondering why or maybe thats the reason for the crash that it failed. I'm hoping my work files are on their (bookmarks) nothing else lost. From what I remember years ago I selected the 2nd HD for user/home.
Thanks!
Attachments
Screenshot.png
Screenshot.png (153.84 KiB) Viewed 2942 times

User avatar
sunrat
Administrator
Administrator
Posts: 6475
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Adding HD

#2 Post by sunrat »

So what was the question? I guess you want access to a second hard drive, which is not shown in your picture.
Run this command as root or su:

Code: Select all

fdisk -l
and post the output. This will tell us what drives/partitions you have. The option is a small letter "L".
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Dragonsfire
Posts: 58
Joined: 2007-05-15 16:14

Re: Adding HD

#3 Post by Dragonsfire »

Thanks!
What I get is this;

fdisk: invalid option -- 1

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors

If I just do fdisk, then I get this;

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)

smallchange
Posts: 1740
Joined: 2009-05-04 15:56
Been thanked: 1 time

Re: Adding HD

#4 Post by smallchange »

That is a lower case L, not a one.

Dragonsfire
Posts: 58
Joined: 2007-05-15 16:14

Re: Adding HD

#5 Post by Dragonsfire »

Sorry :oops:


Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7befc67e

Device Boot Start End Blocks Id System
/dev/hda1 * 1 43 345366 83 Linux
/dev/hda2 44 4866 38740747+ 5 Extended
/dev/hda5 44 651 4883728+ 83 Linux
/dev/hda6 652 1016 2931831 83 Linux
/dev/hda7 1017 1204 1510078+ 82 Linux swap / Solaris
/dev/hda8 1205 1253 393561 83 Linux
/dev/hda9 1254 4866 29021391 83 Linux

Dragonsfire
Posts: 58
Joined: 2007-05-15 16:14

Re: Adding HD

#6 Post by Dragonsfire »

WTF is going on?
This morning my machine stuck again, took 3 reboots to get it going. Is it a HD issue or power supply?
Setting everything up again only for it to crash, im wondering if I need to replace the HD.

Thanks!
Attachments
P5146868_HDstuckAgain-800.jpg
P5146868_HDstuckAgain-800.jpg (255.43 KiB) Viewed 2874 times

cage47
Posts: 107
Joined: 2004-03-04 04:10
Location: Houston, TX

Re: Adding HD

#7 Post by cage47 »

Hate to say it but if fdisk -l does not show the hd then odds are that you ARE having a hd failure. Or the onboard ide controller is going bad. But most likely the HD. You might try taking it out and putting it in another machine if you have one. Or try using a live cd and see if it is recognized. Does it show in the bios?
Bill "Elmer F.U.D." Gates says, "Be veh-we veh-we quiet. I'm hunting PENGUINS. HUHUHUHUHUHUHUHUH!"

Dragonsfire
Posts: 58
Joined: 2007-05-15 16:14

Re: Adding HD

#8 Post by Dragonsfire »

I only have the one HD in their now. Whats a "Live CD" (http://pkg-kde.alioth.debian.org/kde4livecd.html), a fully formated system for running by itself?
Is their a utility Like windoze that checks the HD for corruption?

Thank you!

User avatar
BioTube
Posts: 7520
Joined: 2007-06-01 04:34

Re: Adding HD

#9 Post by BioTube »

There's badblocks, but that'll overwrite the data. fsck can check filesystems, though. As for LiveCDs, they do run without any sort of installation; with the right conditions, you can even run them completely from RAM.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Adding HD

#10 Post by Absent Minded »

A "Live! CD" is a CD/DVD that runs an OS from the ROM. Many such CD/DVD are meant for testing a certian OS out. However there are a good many things availible on a GNU/Linux Live! CD that make it good for troubleshooting problems.

As you asked... fsck can be run on a filesystem to correct errors. This command does vary with the type of filesystem though so be sure to read up a little on it. Fsck will however not run on a dead hard disk. If you absolutely must recover your data from a dead drive I recomend using Seagate's drive recovery service. You send them the drive, they take it apart and recover your data and send it back to you on some form of medium.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

Dragonsfire
Posts: 58
Joined: 2007-05-15 16:14

Re: Adding HD

#11 Post by Dragonsfire »

Thanks for the information :)

I have been running KNOPPIX the last few days. I want to find out if its the drive or MB. So far running from the flashdrive, working fine without freezing up, so ive been learning how to set this up so I can use it like I would mt HD. Right now Im trying to figure out how to add my old e-mail/mozilla files onto the flash drive to integrate with KNOPPIX.

I tried the fsck but did not execute it because it gave a warning that it could damage data.

Thanks! :)

Dragonsfire
Posts: 58
Joined: 2007-05-15 16:14

Re: Adding HD

#12 Post by Dragonsfire »

Getting real frustrated :(
SO I added my new drive (160 ide seagate) aparently internal drives are hard tocome by now, the stores are full of externals and 500meg and up. In the bios it looks like it sees it as a WD 24gig, and I cant install debian on the drivem cant install KNOPPIX on it, so it looks like the system does not recognize it. I also tried my old PCmagic rescue risks to format it, but it kicked back an error and ended the program.

So does this look like I have a MB problem? Im guessing. Flashdrive LIveCD works fine (thats what Im using now to access the net).

Thanks!
Attachments
ErrorOnDervice-600.jpg
ErrorOnDervice-600.jpg (250.5 KiB) Viewed 2771 times

Post Reply