LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configuring FC3 for a partiton move (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-fc3-for-a-partiton-move-299394/)

volvogga 03-08-2005 09:23 PM

Configuring FC3 for a partiton move
 
Just bought a 120 GB WD hard drive and would like to move my partitions around. I use Partition Magic for this task so thats no problem. I also use Boot Magic as my OS loader, which makes the Grub boot-loader located on the /boot partition. As I don't have a Knopix CD or equivalent, I would like to configure FC3 ahead of time so that I can boot into it with no problems after the rearranging is complete. I would really appreciate it if someone could help me with the configuring of Linux.
Here is my current partition configuration:
~10GB HD
DOS_GAMES 643MB
WIN98 2286MB
WIN2000 6024MB
SWAPSPACE(swap) 580MB

~6.2GB HD
LINBOOT(/boot) 54MB
LINUX(/) 6110MB

This is the partition configuration that I have planned:
~120GB HD
DOS_GAMES 1000MB
WIN98 5000MB
WIN2000 57000MB
LINUX(/) 57000MB

~10GB HD
LINBOOT(/boot) 54MB
SWAPSPACE(swap) 580MB
FAT32_GOBETWEEN 9366MB

From what I understand, I need to modify /boot/grub/grub.conf and /ect/fstab, so here are those two files:

grub.conf
default=0
timeout=5
splashimage=(hd1,0) /grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.622)
root (hd1,0)
kernel /vmlinuz-2.6.9-1.667 ro root=LABLE=LINUX rhgb quite
initrd /initrd-2.6.9-1.667 .img

fstab (the hard disk partition parts)
LABLE=LINUX / ext3 defaults 1 1
LABLE=LINBOOT /boot ext3 defaults 1 2
/dev/hda4 swap swap defaults 0 0

Also from what I have read, there is a Mtab file that I don't think I need to touch, but if I do please let me know.

If someone can help with the changing of the partition numbering here I will be very grateful and bow in their general direction.

Again any help is appreciated. Speedy help is more appreciated as I have about 3 days to get this working before the rebates (with UPC) need to be sent, making it so I can't return the HD if all fails.

Thanks a lot.

qwijibow 03-10-2005 06:35 AM

you need to edit grub.conf and /etc/fstab

you didnt mention where the disks were setup (primary master, primary slave, secondry master etc etc etc.) also we would need partiton numbers... (copy and paste the outputs of cfdisk /dev/hdX where X is a,b,c or d, (depending where your disks are)

in grub.conf if the (hd0,0) and (hd0) parts you need to edit..
again, we cant give the exact changes without cfdisk output.

read "man fstab" and "man grub"

0pal_t0ad 03-10-2005 08:09 AM

if you install your new hdd as primary master, you'll need to re-install grub as well.

qwijibow 03-10-2005 09:52 AM

Quote:

Originally posted by 0pal_t0ad
if you install your new hdd as primary master, you'll need to re-install grub as well.
not neccecerily true, most bios's will allow you to boot off of any IDE channel.

volvogga 03-11-2005 07:20 PM

Thanks for replying.
Sadly, as I stated that I had some time constraints, I just went ahead and edited the two files as I thought they should be (after a bit of research). I didn't even get to see if my assumtions were correct though, as I couldn't even move the partitions of Linux from one disk to another due to some incompatibility or file system error. The only option I had was to reinstall.
Thanks anyway guys.

volvogga 03-11-2005 07:26 PM

Just a quick followup question.
Is there a imaging software that is able to copy FC3's ext 3 to CD-RW's (Linux or windows). I have DriveImage running on windows, but the filesystem is not reconized, so I don't think that the image made from that would be worth anything. If there is one integrated into KDE even better (haven't messed to much with Linux CD burning).
Thanks.

qwijibow 03-12-2005 10:56 PM

goto the gentoo.org forum's and search for "stage 4"
their are instructions there on how to archive your root partiton.


All times are GMT -5. The time now is 09:31 AM.