Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Gateway 4530 laptop that I am trying to get to dual-boot with Ubuntu Linux and XP (it's currently running on WinXP). I originally tried the partition tool that came with the Ubuntu installation, but it never worked for me (it would encounter an error, and refuse to let me proceed without explanation).
I tried again with QTparted then. It won't let me proceed either, but it at least tells me why: bad sector. I was pretty surprised, seeing as Scandisk had never run into anything before and even running it now fails to detect any disk damage. Same with HDD regenerator. So far, the only programme beside QT to have found the bad sector was Spinrite, and it failed to repair it completely.
The HD is a FUJITSU MHT2080AT 80GB, most of which (60GB) is free space.
Anyway, my question is, what should I do to partition anyway? I know ntfs resizer has an option to partition in spite of bad sectors -- is it reliable, but also, how complicated is it to use, compared with QT? Any other options available?
Finally, would wiping the drive be of any help? As a last resort, I would be willing to do this, but I am not sure about the usefulness: the HD will still need to be partitioned even if I install Linux only, right?
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
Quote:
Originally Posted by EGR
I have a Gateway 4530 laptop that I am trying to get to dual-boot with Ubuntu Linux and XP (it's currently running on WinXP). I originally tried the partition tool that came with the Ubuntu installation, but it never worked for me (it would encounter an error, and refuse to let me proceed without explanation).
I tried again with QTparted then. It won't let me proceed either, but it at least tells me why: bad sector. I was pretty surprised, seeing as Scandisk had never run into anything before and even running it now fails to detect any disk damage. Same with HDD regenerator. So far, the only programme beside QT to have found the bad sector was Spinrite, and it failed to repair it completely.
The HD is a FUJITSU MHT2080AT 80GB, most of which (60GB) is free space.
Anyway, my question is, what should I do to partition anyway? I know ntfs resizer has an option to partition in spite of bad sectors -- is it reliable, but also, how complicated is it to use, compared with QT? Any other options available?
Finally, would wiping the drive be of any help? As a last resort, I would be willing to do this, but I am not sure about the usefulness: the HD will still need to be partitioned even if I install Linux only, right?
Thanks very much much already,
EGR
qtparted is normally pretty good. If it's only one bad sector, you can certainly partition around it without difficulty. Just get the number and go into linux fdisk and use the option (might be on the "expert" menu) and convert the display to sectors. Calculate how and where you want your partitions and set them up accordingly.
Alternatively, assuming a typical *bloze installation where XP has comandeered your entire drive, is the bad sector expected to be inside the NTFS filesystem after you've resized it? If so, perhaps you can let *bloze deal with the problem. I should think ntfsresize would accomodate the bad sector by just working around it, and you won't have to deal with it at all. Just tell qtparted to resize it, and then use linux fdisk or cfdisk to create partitions after the end of your ntfs partition. Remember to create partitions only on even cylinder boundaries, for best results.
I should think ntfsresize would accomodate the bad sector by just working around it, and you won't have to deal with it at all. Just tell qtparted to resize it, and then use linux fdisk or cfdisk to create partitions after the end of your ntfs partition.
Well, my problem is precisely that qtparted will not allow me to resize at all.
Quote:
Originally Posted by Randux
If it's only one bad sector, you can certainly partition around it without difficulty. Just get the number and go into linux fdisk and use the option (might be on the "expert" menu) and convert the display to sectors. Calculate how and where you want your partitions and set them up accordingly
How do I get the `number' of the bad sector, though? When I ran Spinrite, it identified it as `Drive sector: 6,355,289-6,355,290'. I also tried to do the partition with GParted, and the error message I got was: `Bad cluster oxc1f23-oxc1f23 (1), cluster size 4096 bytes'. Is either one of those it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.