You are not logged in.
Hi guy,
i'm thinking of buying this http://www.overclockers.co.uk/showprodu … =HD-002-CR or something like it in the next month or so. I'm happy with the speed i have just now from my 500gig samsung spinpoint but the prices are getting hard to resist...
My question is, I took a while setting up my system (hotplugging was a bitch) as I have 2 screens of different size and a wireless keyboard n bluetooth mouse.. it was a pain getting it all right basically and i'm happy with it as it is. IS there a way I could install this new SSD, copy EVERYTHING over to it, add the correct lines to grub, and expect it to play nice?
I'd like to keep my /home on the samsung 500gig but expand it to take up everything (and use a 250gig i have as a backup)
Am i being realistic or am i looking at a full reinstall?
Ta in advance,
David
Offline
Have a look at Clonezilla, it rocks for this kind of thing.
I used it to take an image of my 40gb dual-boot Windows/Arch laptop before I had to give it back to my old work. Left the image sitting for a couple of months before I got a replacement laptop - same model but bigger hard drive. It took care of it all fine and dandy with barely a problem. There was one problem that wouldn't let me boot, but it was an easy and quick fix. I don't see any reason it wouldn't work the same for you going from a bigger to smaller drive.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks, I'll take a look. Given that I'll not be removing the 500 with the current root it seems like it should be safe enough, I dont need to move the MBR or anything.
Thanks.
(leaving unsolved incase of more advice!)
Offline
Depending on you skills this is what i would suggest
1. Boot livecd
2. mount /dev/sda1 /mnt/old
3. mount /dev/sdb1 /mnt/new
4. cp -rav /mnt/old/* /mnt/new
5. umount /mnt/old
6. mount -o bind /dev /mnt/new/dev
7. mount -t proc none /mnt/new/proc
8. chroot /mnt/new /bin/bash
---1. grub-install /dev/sdb
---2. exit
9. Exit and reboot
You are just copying files from the old to new hard drive and then installing grub.
Offline
Thanks pyther,
all looks possible and i hunderstand pretty much whats going on. I've been using linux on off for a few years so i'm not afraid of the command line...
but would this approach be better than clonezilla? I notice you are moving grub, I'd rather keep the grub i have and amend it to include booting to the new partition on the new drive as an option so i can confirm everything works before i install grub from there.
Offline
Depending on you skills this is what i would suggest
1. Boot livecd
2. mount /dev/sda1 /mnt/old
3. mount /dev/sdb1 /mnt/new
4. cp -rav /mnt/old/* /mnt/new
5. umount /mnt/old
6. mount -o bind /dev /mnt/new/dev
7. mount -t proc none /mnt/new/proc
8. chroot /mnt/new /bin/bash
---1. grub-install /dev/sdb
---2. exit
9. Exit and rebootYou are just copying files from the old to new hard drive and then installing grub.
I have question about this.
If there are any difrences about filesytem there won't be problem's?
For example ext4 without journal and ext2
Last edited by SpeedVin (2009-08-07 10:10:28)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
4. cp -rav /mnt/old/* /mnt/new
I always do this in two steps:
cp -rav /mnt/old/* /mnt/new
cp -rav /mnt/old/.* /mnt/new
Am I just over complicated? I seem to remember that only the first step did not copy hidden files/directories...
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
If there are any difrences about filesytem there won't be problem's?
For example ext4 without journal and ext2
No, so long as the LiveCD you boot is capable of mounting them (any LiveCD should be able to handle ext2 and ext3! )
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
i'm not planning to move away from ext4, i'll alter the boot options i'm sure for an SSD but i really want to know now, is this manual copying method better than using clonezilla?
Offline
Might wanna read the tips in this wiki article.
Avoiding Pitfalls
The install is pretty normal, except that you'll need to avoid the pitfalls of our alternative Linux install:
1. Never choose to use a journaling file system on the SSD partitions
2. Never use a swap partition on the SSD
3. Edit your new installation fstab to mount the SSD partitions "noatime"
4. Never log messages or error log to the SSDThe rules ensure that we won't reach the maximum limit of writes on our SSD faster than we should, although this is being contested (see this link and this other link).
Some other minor modifications can be made to decrease number of non-mandatory writes by applications: deactivate ~/.viminfo in vi, deactivate less history file (~/.lesshst), and so on.
So you'll have to disable journaling on ext4 and make sure that you have a dedicated /var on a physical HDD to minimize those log files writes to the ssd.
Last edited by graysky (2009-08-09 14:33:17)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Offline
Might wanna read the tips in this wiki article.
Avoiding Pitfalls
The install is pretty normal, except that you'll need to avoid the pitfalls of our alternative Linux install:
1. Never choose to use a journaling file system on the SSD partitions
2. Never use a swap partition on the SSD
3. Edit your new installation fstab to mount the SSD partitions "noatime"
4. Never log messages or error log to the SSDThe rules ensure that we won't reach the maximum limit of writes on our SSD faster than we should, although this is being contested (see this link and this other link).
Some other minor modifications can be made to decrease number of non-mandatory writes by applications: deactivate ~/.viminfo in vi, deactivate less history file (~/.lesshst), and so on.
So you'll have to disable journaling on ext4 and make sure that you have a dedicated /var on a physical HDD to minimize those log files writes to the ssd.
All of that makes SSDs pretty useless in my opinion...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
All of that makes SSDs pretty useless in my opinion...
+1
I'll wait for SSD's to catch-up to the reliability and longevity of traditional HDD's before bothering. The speed is nice, but I like to know my whole system isn't going to die from the SSD exceeding it's relatively short life-span.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline