To whom it my concern Anybody...please...improve....comment Question : Is it possible to move your harddisk from exicisting position to another on same box. Answer : Sure....but some strict rules apply. IMPORTEND NOTE : All the following is given as is and may/may not work on your sytem. Please be advised that this operation have risks and that I will not be responsible for any mishaps. Please read this...and make sure you understand the risks. Example : To move hda to hdb. The following MUST be done BEFORE shutdown. FIRST : make copies of.../etc/fstab.....the bootloader.../etc/lilo.conf or /boot/grub/menu.lst...(the one you are using) IMPORTEND suggestion.....any lines you must change...comment them....then copy it....now make your changes in this new line....if problems should arise you will be glad for the extra effort. SECOND : Load /etc/fstab in your favourite editor...all references to hda must be changed to hdb.(keep in mind above suggestion) THIRD : Suggest to comment existing stanza...copy it and then make your changes....... Load /boot/grub/menu.lst ( /etc/lilo.config) in your favourite editor...all references to hda must be changed to hdb.(keep in mind above suggestion)...if you made changes to lilo.conf...Please run /sbin/lilo -v. No need to do anything else if changes in menu.lst. FOURTH : Shutdown..........swap harddisk...boot. NOTE : In the above example...the disk moves from master to master. If the changes you want to make involves moving from...say..slave to master or visa versa...please make sure that you change the link settings on the disk. NOTE: Have done the above a few times and with success every time....that may/may not be the same with your effort. NOTE : Moving between boxes involves more...hardware differences etc...did not have success in that test. Suse friends...Enjoy - Johan Registered Linux User #330034 May this be a good day for learning - Still learning.
On Thursday 18 March 2004 18:59, Johan wrote:
Question : Is it possible to move your harddisk from existing position to another on same box. Answer : Sure....but some strict rules apply.
~ Sure . . . find this handy for backups. ~ shutdown, and plug in a spare HardDisk ~ kill -9 cron PID { to find PID : ps aux | grep cron } ~ mount the target Partition in the spare HardDisk ~ use TAR like this :- tar clf - . | ( umask 0; cd /mnt; tar xvf - ) ~ edit /mnt/etc/fstab { remember to restart cron : /usr/sbin/cron } [ backup of 4.8 gb system takes about 12 minutes ] _____________ best rgds ________
On Thursday 18 March 2004 19:23, pinto wrote:
~ Sure . . . find this handy for backups. ~ shutdown, and plug in a spare HardDisk ~ kill -9 cron PID { to find PID : ps aux | grep cron } ~ mount the target Partition in the spare HardDisk ~ use TAR like this :-
tar clf - . | ( umask 0; cd /mnt; tar xvf - )
P.S. impression : a Linux home-workstation is easily 'portable' . . . if going on a trip, spare HardDisk in pocket, one can have good chance that plugging HD into roughly similar hardware will work, with a run of Sax2 to get the Video monitor working ok best rgds ________
On Thu, 18 Mar 2004 19:44:51 +0000
pinto
On Thursday 18 March 2004 19:23, pinto wrote:
~ Sure . . . find this handy for backups. ~ shutdown, and plug in a spare HardDisk ~ kill -9 cron PID { to find PID : ps aux | grep cron } ~ mount the target Partition in the spare HardDisk ~ use TAR like this :-
tar clf - . | ( umask 0; cd /mnt; tar xvf - )
P.S. impression : a Linux home-workstation is easily 'portable' . . . if going on a trip, spare HardDisk in pocket, one can have good chance that plugging HD into roughly similar hardware will work, with a run of Sax2 to get the Video monitor working ok
best rgds ________ << snip >> Thanks for your input...That's linux...various ways to accomplish same task. Kindly more step by step after plugging in harddisk....yast2...monitor. Kindly do not be shy on the detail...:) Thanks -- Johan Registered Linux User #330034 May this be a good day for learning - Still learning.
participants (2)
-
Johan
-
pinto