LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-30-2005, 12:40 PM   #1
jclu
LQ Newbie
 
Registered: May 2005
Posts: 9

Rep: Reputation: 0
help with moving to another hd


I have a 30GB drive that has the following config:

hdb1 - 5.5G - Reiserfs - /
hdb5 - 21G - Reiserfs - data partition
hdb6 - 2G - Swap

and I'v installed a 160GB drive as my pri master with the following config:

hda1 - 15G - FAT32 - Win XP
hda5 - 6.5G - Reiserfs
hda7 - 1G - Swap
hda8 - 100G - Reiserfs

The other partitions I'm planning to use for other OSes.

Anyway, I'm using GRUB as my boot manager and I believe it's installed into the mbr of my hda drive. But it's still set up to boot hdb1 and use hdb5 and hdb6 as my data and swap partitions.

I want to make hda5 my new /, and hda8 and hda7 as my data and swap partitions. I know I can just use a live cd to copy the data all over to each respective partition, and edit fstab on hda5 so that it uses the hda partitions, but how do I edit/update GRUB so that it boots hda5, and not hdb1?

For example, I can edit /boot/grub/menu.lst to use hda5 while I'm booted into hdb1, but then if I run update-grub, will that work? Or should I copy the data over, and then edit /boot/grub/menu.lst on hda5? In that case, how do I update GRUB?

Also, should I install GRUB onto the boot sector of /dev/hda5 in addition to copying the data over? Or should I do both - install it into the mbr of hda and the boot sector of hda5?

The other option I considered was to do a fresh install to hda5 and during the installation add hda8 and hda7 to fstab. I could then install and set up GRUB to be my boot manager, and once I can boot up fine to hda5, use the live cd to copy the data from hdb to hda. If I do this, are there any files I shouldn't overwrite or should manually edit after I copy the data over?

Thanks.

God bless
Hiran
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
moving along so far.... Tbagz Linux - Newbie 3 10-31-2005 06:20 AM
moving from one hd to another katy_c4c Linux - Newbie 3 10-22-2004 04:56 AM
copying/moving stalls when moving a lot of data to a usb stick =X= Linux - Hardware 10 07-30-2004 06:29 AM
moving from 2.4.xx to 2.6.3... Tih8710 Programming 2 06-21-2004 07:55 AM
Moving up MasterC Linux - General 10 06-06-2002 06:51 AM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration