Quantcast

New hard drive

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

New hard drive

Mark Panen
Hi,

I have three hard drives.

/dev/sda
/dev/sdb
/dev/sdc

/dev/sda is partitioned:

/boot
/
swap
/home

i want to purchase a new hard drive and basically install 12.04 LTS from
scratch when it is released but i want to copy my /home from /dev/sda
onto the new hardrive and make the new hard drive bootable.

Any pointers please?

--
Cheers
Mark


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: New hard drive

compdoc
> Any pointers please?

I would write down which of your current hard drives are connected to which
pata/sata ports.

It's important that you be able to put it back exactly the same way before
you do anything.

Also know exactly which drive is the current boot drive. And know the
current boot order in the bios.

Then I would disconnect all drives, and connect the new drive alone with the
dvd drive and install Ubuntu.



 


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New hard drive

Lucio M Nicolosi-3
In reply to this post by Mark Panen
On Wed, Apr 4, 2012 at 9:38 PM, Mark Panen <[hidden email]> wrote:

> Hi,
>
> I have three hard drives.
>
> /dev/sda
> /dev/sdb
> /dev/sdc
>
> /dev/sda is partitioned:
>
> /boot
> /
> swap
> /home
>
> i want to purchase a new hard drive and basically install 12.04 LTS from
> scratch when it is released but i want to copy my /home from /dev/sda onto
> the new hardrive and make the new hard drive bootable.
>
> Any pointers please?
>
> --
> Cheers
> Mark

Mark,

You don't really need to unplug anything. (I guess)

Physically install and partition the new disk, setting spaces for
12.04 /root, your new /home and whatever partitions you might want to
have. (old version of Gparted at repos or last release Live CD from
Gparted site).

Backup your current  /home into the new partition (Lucky Backup -
graphic rsync - on repositories can do it easily and you get a bonus
defrag)

Run the 12.04 Live CD iso from a USB stick (quicker than CDs) and
choose the RIGHT places for /root and /home (you may use an existing
/swap partition in another disk to be remained on the set).

Remember to set Grub to be installed on the new disk. It will probably
recognize every other system (thus the other disks should be plugged
in, although it can be done later).

Reboot (to your old system) and run (sudo) update-grub (if running
Grub2, else is another matter). Your old system is ready to recognize
the new 12.04 install in the new disk.

Eventually, set the Bios to boot from the new disk so that new kernels
(in 12.04) are automatically recognized by (the new) Grub. If not, you
might have to run update-grub at every new kernel release.

Consider carefully if you really want all the legacy configurations
that remain in your /home directory (directories beginning with dot)
to be present in your new /home. I would delete at least those
pertaining to software you do not use anymore (you have the original
home as backup).

Gparted can also copy entire partitions to your new disk, in case
you'd  rather upgrade than perform a clean install.

Last, but in any way least, WAIT until 12.04 Precise is released and
shows itself really stable. It'll take more than a couple of months...

Good Luck,

L.


--
Lucio M. Nicolosi, Eng.
Open Source Implementation
System and Applications
GNU/Linux

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New hard drive

Avi Greenbury-4
In reply to this post by Mark Panen
Mark Panen wrote:
> i want to purchase a new hard drive and basically install 12.04 LTS
> from scratch when it is released but i want to copy my /home
> from /dev/sda onto the new hardrive and make the new hard drive
> bootable.
>
> Any pointers please?
 
The notion of a 'bootable hard drive' doesn't really exist in Linux;
all disks are equally bootable-from, that's largely a hangover from
MS-DOS which was picky about partitions.

The simplest way would be to:
* Buy the new disk and install it
* Create your desired partition layout on it
* Copy the contents of /home into the right place
* Remove the other disk
* Install Precise on the remaining (new) disk

When you install you have the option of not formatting /home, which
means that you'll get a new system installed on the other partitions
and /home will be left largely untouched.

There'll be a couple of files that you'd want to delete or move, in
order that new ones for new versions of things are created, but
precisely what they are wont be fully known until the release of 12.04.
They'll also vary with how much of your current environment you wish to
preserve; they're just personal configuration files for things like
Gnome.

--
Avi

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New hard drive

katrina warsaw
In reply to this post by Mark Panen
You don't need to buy a new hard drive for that. It depends on if you have or not free space in /dev/sda.
If you don't then go for buying a new hard drive, if you do then use gparted for reducing the size of partition where you have /home and you'll get new free space unpartitioned. With that , you can make a new partition , ext4 type, for the / new 12.04.

2012/4/5 Mark Panen <[hidden email]>
Hi,

I have three hard drives.

/dev/sda
/dev/sdb
/dev/sdc

/dev/sda is partitioned:

/boot
/
swap
/home

i want to purchase a new hard drive and basically install 12.04 LTS from scratch when it is released but i want to copy my /home from /dev/sda onto the new hardrive and make the new hard drive bootable.

Any pointers please?

--
Cheers
Mark


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Loading...