LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing new hd (https://www.linuxquestions.org/questions/linux-newbie-8/installing-new-hd-838528/)

johnh10000 10-16-2010 02:53 PM

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?

Tinkster 10-16-2010 06:24 PM

Quote:

Originally Posted by johnh10000 (Post 4129733)
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

johnh10000 10-16-2010 07:10 PM

Quote:

Originally Posted by Tinkster (Post 4129875)
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.

johnh10000 10-16-2010 11:13 PM

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


All times are GMT -5. The time now is 06:24 PM.