LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2010, 02:53 PM   #1
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
installing new hd


Ok I'm not new at this but I feel like it at the moment!

OK I have a 75gb hd (incomming) sda1 which I want to change for a new 200gb.

But Grub seems to have dumped some of its bits there So we start (when 75gb) is removed, but not normally.

I will give you a layout as best I can, then just ask for what you need.

Code:
johnh@tux:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1              97G   83G  8.7G  91% /
none                  463M  328K  463M   1% /dev
none                  470M  1.3M  468M   1% /dev/shm
none                  470M  388K  469M   1% /var/run
none                  470M     0  470M   0% /var/lock
none                  470M     0  470M   0% /lib/init/rw
/dev/sdb2              97G   83G  8.7G  91% /home
/dev/sdb3              97G   90G  1.4G  99% /home/bkup-data
/dev/sda1              74G   10G   60G  15% /home/incomming
Do I have to norton ghost it, ahhh that gives me an idea. the 200 isn't there yet as i have format it, but say its sdd1, could I
Code:
cp /dev/sda1 /dev/sdd1
any ideas?

Last edited by johnh10000; 10-31-2010 at 05:49 AM.
 
Old 10-16-2010, 06:24 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by johnh10000 View Post
Ok I'm not new at this but I feel like it at the moment!

OK I have a 75gb hd (incomming) sda1 which I want to change for a new 200gb.

But Grub seems to have dumped some of its bits there So we start (when 75gb) is removed, but not normally.

I will give you a layout as best I can, then just ask for what you need.

Code:
johnh@tux:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1              97G   83G  8.7G  91% /
none                  463M  328K  463M   1% /dev
none                  470M  1.3M  468M   1% /dev/shm
none                  470M  388K  469M   1% /var/run
none                  470M     0  470M   0% /var/lock
none                  470M     0  470M   0% /lib/init/rw
/dev/sdb2              97G   83G  8.7G  91% /home
/dev/sdb3              97G   90G  1.4G  99% /home/bkup-data
/dev/sda1              74G   10G   60G  15% /home/incomming
Do I have to norton ghost it, ahhh that gives me an idea. the 200 isn't there yet as i have format it, but say its sdd1, could I
Code:
cp /dev/sda1 /dev/sdd1
any ideas?

To tell you the truth I don't understand too much of your post.

If you have two devices, a 75 & a 200GB (which you seem to have
partitioned to contain swap as well as a ext4 filesystem) all you
need to do is to mount the 187GB partition to a temporary spot (e.g.,
/mnt/tmp), and copy the files/directories from incommng to /mnt/tmp,
umount incoming, then change fstab to have incomming point at the
big partition, mount incoming, and voila. I'm not quite sure what your
reference to grub and booting had to do with any of the above.


Cheers,
Tink
 
1 members found this post helpful.
Old 10-16-2010, 07:10 PM   #3
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Tinkster View Post
To tell you the truth I don't understand too much of your post.

If you have two devices, a 75 & a 200GB (which you seem to have
partitioned to contain swap as well as a ext4 filesystem) all you
need to do is to mount the 187GB partition to a temporary spot (e.g.,
/mnt/tmp), and copy the files/directories from incommng to /mnt/tmp,
umount incoming, then change fstab to have incomming point at the
big partition, mount incoming, and voila. I'm not quite sure what your
reference to grub and booting had to do with any of the above.


Cheers,
Tink
Yeah I can't find any grub stuff either. well following your advice, cp-ing contents of the 75 to the 200. next remove the 75, and re add the 120 (ftp) then cp it all.

Will let you know how things work out.
 
Old 10-16-2010, 11:13 PM   #4
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
sussed it. it turned out that the drive with ftp on it and the dvd did not getalong together. some jumper problem. this made it not find anything.

so just made the ftp drive master and removed temp the dvd.

cheers for your help
 
  


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
installing aurora linux in sun blade 150----not installing? kingston Linux - General 1 01-14-2010 07:10 AM
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Installing Vega Strike, having trouble installing SDL_mixer-devel captainxark Fedora 3 09-13-2008 06:29 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 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