LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2004, 02:09 PM   #1
dizzi
Member
 
Registered: Jun 2004
Location: Yorkshire, UK
Distribution: Mint, Slackware
Posts: 146

Rep: Reputation: 15
Smile Porting Slack installation to a new hard-drive


Hey Folks

Just upgraded my laptop with speedier hard-disk and I want to port my Slack installation over to it. The new drive has been appropriately partitioned. The old drive is now in a 2.5 inch laptop hard-disk enclosure which I can connect either by FireWire or USB 2 (the laptop has both but the USB ports are 1.1) . I have live-distro cd's (Mepis & Knoppix) from which I can boot, mount and then copy the entire file-system from the old to to the new drive.

The question is what is the easiest, best, fastest (not necessarily in that order) way to port the Slack installation over to the new drive? Will a direct copy work? or are there better tools for the job?

All assistance will be fully appreciated

regards

diizzi

Last edited by dizzi; 08-26-2004 at 01:02 PM.
 
Old 08-25-2004, 02:14 PM   #2
azzurro
Member
 
Registered: May 2004
Posts: 39

Rep: Reputation: 15
Just to clarify: Is your new hard drive in the external enclosure, or is it already in the laptop? I would assume that your new hard drive is already in the machine, but your post seems to indicate otherwise, which doesn't really make much sense because if it weren't already in there, you wouldn't need the live cds... "The new drive has been appropriately partitioned. It is in a 2.5 inch laptop hard-disk enclosure which I can connect either by FireWire or USB 2 "
 
Old 08-26-2004, 12:32 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
There's a HOWTO in the zipslack documentation for this. Easy as pie!
For a single partition, just mount the new part. the make dirs there for /mnt/ and /proc.
then cd to /
cd /
then:
umask 000; cp -avx bin boot dev etc home lib root sbin tmp usr var /mnt/new
Copy all dirs you have there except mount and proc. then edit the fstab on the new drive and reboot mounting the new partition as root. Run lilo from new install and that's it.
 
Old 08-26-2004, 02:50 AM   #4
-trustbyte-
LQ Newbie
 
Registered: Nov 2003
Location: Romania
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
G4u

g4u is what you need.


tested!


http://www.feyrer.de/g4u/


 
Old 08-26-2004, 01:05 PM   #5
dizzi
Member
 
Registered: Jun 2004
Location: Yorkshire, UK
Distribution: Mint, Slackware
Posts: 146

Original Poster
Rep: Reputation: 15
Hey

Thanks to all of you guys for the assists. Sorry azzurro for the confusion, it was indeed a careless error on my part , thanks for pointing it out. The correction has now been made.

Cheers

Last edited by dizzi; 08-26-2004 at 01:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New slack install... want to do it on my second hard drive... how? silverbullet Slackware 11 01-24-2005 05:47 PM
Installing Slack 9.0 on an external USB hard drive Elohist Slackware 5 08-03-2004 07:41 AM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 10:58 AM
Slack 9.1 can not find hard drive but 9.0 did neurotic Slackware 3 11-18-2003 12:55 PM
!!!!!!Hard drive crash Slack 8.1 server!!!!! Finlay Slackware 1 11-12-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration