Skip to main content

Posts

Showing posts with the label harddrive

Resurrect my old ide disk

I've got the problem with my old ide harddrive fews day ago. At last i found that it's ide cable is bad and that destroy the partition table. Anyway today after recover and backup the files, I create new partition table with fdisk and here is the new table. Disk /dev/hda: 60.0 GB, 60022480896 bytes 16 heads, 63 sectors/track, 116301 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hda1 1 58130 29297488+ 7 HPFS/NTFS /dev/hda2 58131 116301 29318184 83 Linux 50/50 ntfs and ext3 should be fair :). After repartition, Ubuntu know only hda1 as 10GB partition[my old config]. what i forget? May be need to fotmat it first. I'm not sure how to format ntfs partition in ubuntu so i reboot to winxp, format it then turn back to ubuntu again. Now I format hda2 like this. pnix@pnix-a7n:~$ sudo mke2fs -j /dev/hda2 mke2fs 1.40-WIP (14-Nov-2006) Filesystem label= OS type: ...

Ubuntu kill your hard drive???

I've got a problem with my desktop box again and look like it's happen periodically [every 5 months I think]. In the box, I have two hard drives. The new one, sata, is installed as dual boot disk, feisty and xp and another is 5 years old ide. I use it to store some unimportance files. Yesterday I start up ubuntu and can't mount the old one. It made some noise at boot time but this is nothing weird, It's sound terrible like this every day. The difference is this time it can't mount. Until now I still not sure my old ide is bad. Almost parts in the box are almost 5 years old, it can die at anytime. Maybe it's power supply, I don't know, it run at least 5 hours a day everyday for almost five years. Anyway my main SATA still healthy. I found this thread on ubuntuforums, he said ubuntu kill his laptop drive. This is because upon power off, the kernel sends the FLUSH CACHE message to the disk to flush the disk write cache, which cause it to spin up. Then it sudde...

Adding new partition to Ubuntu(UUID in fstab)

Last night,on my dual boot machine, I formated old ntfs partition to fat32 partition(in XP). After reboot to Feisty, it can't mount that partition anymore. I edited /etc/fstab by changed ntfs to vfat not work. I notice that fstab file in Feisty, the field /dev/abcd have changed to UUID=xxxx. I try google it and found some info. UUID(Unique unit ID) came since edgy I guess(I never try edgy at all). Some reason to use UUID are a)Disk labels aren't guaranteed to be unique. b)The kernel's device paths aren't constant enough -- move your SCSI interface card to a different slot and system doesn't boot any more. c)Device names aren't constant either -- they depend on module load order. To find out the UUID, use the following command $ /sbin/blkid or $ sudo vol_id -u device

Dual boot,A7N8X-E,SATA,WINXP and me

Last week, I’ve got serious problem with my system at home. It has 2 drives, ide and sata. The ide one(4 years old), used as system drive,'s partition table was crash. The last environments before it crashed are Ide drive's 4 partitions. hda1 is winxp(ntfs,loss partition table),hda5 is data(ntfs,loss partition table),hda6 is ubuntu /(fine) and hda7 is swap(fine). Sata drive's 3 ntfs partitions (sda1,5,6) all fine and its store movies and programs I've downloaded from bittorrent. Motherboard is ASUS A7N8X-E Deluxe with Sillicon SATA chip(Sillicon 3112a I guess) Ubuntu on hda6 still can boot. I have some data on hda5 need to restore(with 'EasyRecovery', it works great, restores everything as the same folder structure.). My plan is reinstall both XP and ubuntu on SATA drive, use last partition on SATA to store importance data. For old 60 GB IDE, I will use as download drive store data downloaded from bittorrent network. I have followed other instructions found o...