Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
have a look at the thumbnails where the achieved speeds are written.
What is the process now I should follow to copy the current partitions to the new external disk, before I replace it to the laptop? I have already these atapi/sata to usb cables.
Quote:
Reallocated Sectors Count
The raw value normally represents a count of the bad sectors that have been found and remapped. Thus, the higher the attribute value, the more sectors the drive has had to reallocate. This allows a drive with bad sectors to continue operation; however, a drive which has had any reallocations at all is significantly more likely to fail in the near future.[
and
Quote:
Multi-Zone Error Rate
The count of errors found when writing a sector. The higher the value, the worse the disk's mechanical condition is.
and
Those comments are referring to the raw values, which were not shown in the screen capture. Applying that interpretation to the normalized values is dead wrong. For the normalized values, which are what is shown in the "Value" column, high numbers are good and values below the threshold indicate failure.
From the data shown, the disk does not appear to be in perfect health, but without the raw values it's hard to make a judgement. (I really hate fancy tools that suppress important information.)
[Edit]: I just saw the followup post that does show the raw values. 111 reallocated sectors and 112 more sectors pending reallocation and currently visibly bad to the OS. Yes, it's bad.
However, I do NOT guarantee that it will work. You never know with an old laptop. I replaced the IDE drive on my old laptop and it didn't recognize it, probably because of a BIOS issue.
I bought the disk. What is the procedure now to clone the old partition to the new one? As my linux is still running I was thinking to connect the new hard disk with atapi to usb cables to complete the clone first. I am more intrested in cloning that hidden laptop partition that is used to recover the official windows 7. Is there something special with that partition for cloning it?
If you use clonezilla to read your disk with bad sectors, you will probably need to select "Expert" mode and use the "-rescue" option. Otherwise it will stop on the first failed read. The "-rescue" option in clonezilla is not as good as the error handling in ddrescue or gddrescue, so you might have to use one of those tools to copy partitions containing bad sectors.
If you use clonezilla to read your disk with bad sectors, you will probably need to select "Expert" mode and use the "-rescue" option. Otherwise it will stop on the first failed read. The "-rescue" option in clonezilla is not as good as the error handling in ddrescue or gddrescue, so you might have to use one of those tools to copy partitions containing bad sectors.
The clonezilla live CD contains both those tools.
Hi, how I can later to extend the partitions? The new hard disk would be larger than the one I currently have
Alex
Hi, how I can later to extend the partitions? The new hard disk would be larger than the one I currently have
Alex
For the Linux ext2/3/4 partitions, it's easy. Make the new partitions the size you want, use clonezilla or whatever tool to copy the old filesystem into the new, larger partition. Then run resize2fs on the new partition, and it will automatically extend the filesystem to fill the partition.
For Windows, the NTFS resizing tools I've found do not seem to understand the notion of extending the filesystem unless they are also changing the partition size at the same time. So, you would need to make the new partition slightly smaller than intended, copy the filesystem over, and then use gparted, ntfsresize, or one of the available Windows tools to adjust the partition size and make the filesystem fit. (Perhaps you don't intend to change the size of your NTFS partition. That would be the easiest.)
For a swap partition, there is of course no reason to copy the old partition. Just run mkswap on the new partition.
For the Linux ext2/3/4 partitions, it's easy. Make the new partitions the size you want, use clonezilla or whatever tool to copy the old filesystem into the new, larger partition. Then run resize2fs on the new partition, and it will automatically extend the filesystem to fill the partition.
For Windows, the NTFS resizing tools I've found do not seem to understand the notion of extending the filesystem unless they are also changing the partition size at the same time. So, you would need to make the new partition slightly smaller than intended, copy the filesystem over, and then use gparted, ntfsresize, or one of the available Windows tools to adjust the partition size and make the filesystem fit. (Perhaps you don't intend to change the size of your NTFS partition. That would be the easiest.)
For a swap partition, there is of course no reason to copy the old partition. Just run mkswap on the new partition.
I can not copy the windows partitions through clonezilla software?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.