This is a discussion on Backup/Upgrade of Harddisk within the Linux software forums, part of the Linux Getting Started category; I want to upgrade my HDD of 20 GB to 80 GB. I have a dual boot system with XP ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
I want to upgrade my HDD of 20 GB to 80 GB.
I have a dual boot system with XP ( on FAT32) and SuSE9.3. How do I go about doing the upgrade of the Harddisk without going for a reinstall. I want to preserve the same slices.....like / ; /home ; /var ; swap. Just that the size of the individual slices will increase. I know it is possible to dump the entire partition info into a file, in SOLARIS, using prtvtoc. But is there any such thing in Linux. How do I go about it.?!! rc |
| Sponsored Links | ||
|
|
|
||||
|
Well you don't need any special tools.
Use fdisk to parition second disk, and then copy files from first disk to second disk, once you are done then modify grub.conf to point correct partition and reboot system. 1) fdisk /dev/newdisk and reboot 2) Format new parition using mk2fs 3) Mount new partiton and init 1 i.e. single mode 4) Copy data using cp command 5) modify grub/lilo.conf 6) Not sure how to do with windows xp Here is step by step guide which uses same method: http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/ if you have more question comment back |
|
|||
|
Thanks monk,
Well...!!. I do understand that cp will do. But, will it preserve all the user/group rights of a particular file. I doubt that. I think if we copy it using the user root from say /home to /newhome..... the files that are copied to /newhome will have root as the owner. I may be wrong too. But if what I say is right, how shall we go about it. rc |
|
||||
|
Hmm.. Sometime we upgrade or copy client hosting data stored in /wwwroot/a/abc.com to other partition and we use cp -p option which keep the all permission as it is and then we just change config in httpd.conf and other files...
so -p should do a work but never did upgrade hard disk this way. Other choice is to use Linux LVM; We use Logical Volume Management on a Large System where disk requirment keeps increasing day by day. But for that you need to have LVM on first hard drive ... better solution is as pointed by monk, IMPO.
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
Code:
rsync -a --stats --progress /oldroot /newroot Code:
rsync -a --stats --progress --exclude=/mnt/* --exclude=/proc/* --exclude=/sys/* /oldroot /newroot |
|
|||
|
The command
Code:
cp -a |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How To Upgrade PHP | sweta | Ubuntu / Debian | 0 | 05-03-2008 12:18 AM |
| upgrade fedora7 to fedora8 with yum | shabakeh | CentOS / RHEL / Fedora | 1 | 11-18-2007 09:17 AM |
| Upgrade Apache Server | sweta | Ubuntu / Debian | 0 | 11-01-2007 03:53 AM |
| Harddisk driver install | Ramesh | Linux software | 1 | 11-29-2006 10:45 PM |
| How to solve apt-get upgrade problem | sweta | Getting started tutorials | 3 | 01-19-2006 07:21 PM |