silvia_g
June 26th, 2012, 01:06 PM
hey I've been using ubuntu for a couple of years now, but I am still an absolute begginer, please be kind..:)
I've bought a dell inspiron a month ago, and installed ubuntu 12.04 in a separate partition (since they made me pay for windows 7 I figured it was best to keep it there, in a small partition); then a week ago I started having huge problems, first during boot there were a lot of messages saying the disk had bad sectors, and now it doesn't boot at all;
googling and reading I think the problem is I have a disk divided in 4096 physical sectors and the table partition isn't aligned, so I'd like to reinstall everything from scratch with a propper alignment table, but I just can't manage to find instructions I'm able to understand;
if someone could please share a comprehensive how-to for this situation, or direct me to some article where there's an explanation on how to proceed I'd much appreciate it;
also, I understand I should post the outcome of some command in order to provide accurate info on the problem I have, but don't know at one to use - just tell me what to do and I'll post it here!
thank you in advance, I hope someone will help me!
Silvia
/ ok so I-ve managed to boot from the cd, take pictures of disl utility and gparted outputs as well as fdisk l
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x07f2837e
Device Boot Start End Blocks Id System
/dev/sda1 63 208844 104391 de Dell Utility
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 212992 41172991 20480000 7 HPFS/NTFS/exFAT
/dev/sda3 41172992 215252719 87039864 7 HPFS/NTFS/exFAT
/dev/sda4 215252990 1465147391 624947201 5 Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5 215252992 275253247 30000128 83 Linux
/dev/sda6 275255296 291254271 7999488 82 Linux swap / Solaris
/dev/sda7 291256320 1465147391 586945536 83 Linux
I've bought a dell inspiron a month ago, and installed ubuntu 12.04 in a separate partition (since they made me pay for windows 7 I figured it was best to keep it there, in a small partition); then a week ago I started having huge problems, first during boot there were a lot of messages saying the disk had bad sectors, and now it doesn't boot at all;
googling and reading I think the problem is I have a disk divided in 4096 physical sectors and the table partition isn't aligned, so I'd like to reinstall everything from scratch with a propper alignment table, but I just can't manage to find instructions I'm able to understand;
if someone could please share a comprehensive how-to for this situation, or direct me to some article where there's an explanation on how to proceed I'd much appreciate it;
also, I understand I should post the outcome of some command in order to provide accurate info on the problem I have, but don't know at one to use - just tell me what to do and I'll post it here!
thank you in advance, I hope someone will help me!
Silvia
/ ok so I-ve managed to boot from the cd, take pictures of disl utility and gparted outputs as well as fdisk l
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x07f2837e
Device Boot Start End Blocks Id System
/dev/sda1 63 208844 104391 de Dell Utility
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 212992 41172991 20480000 7 HPFS/NTFS/exFAT
/dev/sda3 41172992 215252719 87039864 7 HPFS/NTFS/exFAT
/dev/sda4 215252990 1465147391 624947201 5 Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5 215252992 275253247 30000128 83 Linux
/dev/sda6 275255296 291254271 7999488 82 Linux swap / Solaris
/dev/sda7 291256320 1465147391 586945536 83 Linux