|
|
Posted Jul 09, 2008 at 4:58:43 AM
Subject: Problem with Hard Drive on Eee PC using Xandros Linux
Hi, a new user here. I recently reinstalled Xandros Linux on my Eee PC from a previous install of Windows XP and for some reason the D: drive, which is 16 gigs, isn't showing up at all. It basically shows up as a zero byte drive. I never had this problem before when I first got the Eee as Xandros was already installed and both the C and D drive were fine. I asked about this over on the eeeuser.com forum and one person recommended I download a 45 meg program from the partedmagic.com website which I thought was a little much.
I just want to re-partition and reformat the drive so that it shows up as a 16 gig drive. There must be some commands I can use in the Terminal to do this. Does anybody have any examples? Please remember I'm a newbie to Linux. :) I need to get this done quickly as I'm planning to sell the Eee PC later this week and I don't want to sell the computer to someone and he or she can't use the D: drive for their programs. Thanks.
|
Kenmac
Joined Jul 09, 2008 Posts: 3
Other Topics
|
Posted:
Jul 09, 2008 8:20:39 PM
Subject: Problem with Hard Drive on Eee PC using Xandros Linux
Once again, I wish to stress that I'll be putting this Eee PC up for sale towards the end of this week so it's important that I get the answer very soon. I don't want to rip off the person who buys this from me thinking they'll have 16 gigs of storage only to discover that they don't so the sooner I get help with this the better. Thanks.
|
Bob
Joined Apr 11, 2008 Posts: 93
Location:San Francisco, CA
Other Topics
|
Posted:
Jul 10, 2008 4:40:34 AM
Subject: Problem with Hard Drive on Eee PC using Xandros Linux
So, if I understand your situation, you have a 4 GB internal flash drive (SSD) and a 16 GB secondary SSD. The first drive shows up as sda, and the second shows up as sdb, if you type 'sudo fdisk -l' into a terminal session asking for a list of attached drives. sda was originally set up as 4 partitions (sda1 sda2, sda3, sda4) while sdb can be set up any way you choose. Xandros for the Eee assigns single letter names comparable to Windows so migrating users will more easily recognize what they may be, but the letters are meaningless. D: is assigned to sdb when mounted. If sdb is shown but isn't formatted as you want, you can change it using existing tools, though the graphical tools you can install make it simpler.
Try 'sudo cfdisk /dev/sdb' A table will come up showing the format of D: You can delete the partition, create a new one, and define it as ext2, ext3, or fat or otherwise. Write the new partition table to the disk. You can then use mkfs to format the disk (make a file system). Type 'mkfs -t ext2 /dev/sdb1' to create an ext2 file system on the first partition of sdb. After that you should be able to mount it 'mount -t ext2 /dev/sdb1 /mnt/D:' (Or reboot and see if it automounts)
I think I got it right, but here is some info for reference.
http://linux.die.net/man/8/fdisk
http://linux.die.net/man/8/mkfs
http://linux.die.net/man/8/mount
|
Kenmac
Joined Jul 09, 2008 Posts: 3
Other Topics
|
Posted:
Jul 11, 2008 5:54:19 AM
Subject: Problem with Hard Drive on Eee PC using Xandros Linux
Well Bob, first of all I thank you very much for your help and I tried everything you suggested but the drive is still showing up as a 0 byte drive. It did show up as a 16 gig drive when I used the sudo cfdisk /dev/sdb command and I tried to delete and it looked like it was working but nothing seemed to happen. I tried the mounting and that didn't seem to do much either. I think what I'm going to do is when I sell the Eee PC is to tell the person about this and suggest to them to either install a different version of Linux or Windows XP. I wish I knew somebody who knew Linux as I could get them to get this drive showing up as a drive with 16 gigs of space available. I'm probably doing something wrong and it's probably something simple. Oh well, thanks again and I'll probably be back once I get my new Eee PC 1000H with the 80 gig hard drive as I'm planning to have XP on one partition and I'll be installing Ubuntu on the second one.
|