LinuxQuestions.org
Register a domain and help support LQ
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 03-08-2005, 10:23 PM   #1
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
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.
 
Old 03-10-2005, 07:35 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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"
 
Old 03-10-2005, 09:09 AM   #3
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
if you install your new hdd as primary master, you'll need to re-install grub as well.
 
Old 03-10-2005, 10:52 AM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
 
Old 03-11-2005, 08:20 PM   #5
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
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.
 
Old 03-11-2005, 08:26 PM   #6
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
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.
 
Old 03-12-2005, 11:56 PM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

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


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
configuring screensaver on FC3 in TWM. dr_zayus69 Linux - Newbie 2 02-15-2005 09:44 PM
Configuring MyODBC DSN on FC3 woranl Fedora 2 01-22-2005 01:04 PM
help configuring wireless security FC3 jlawren7 Fedora 0 01-05-2005 02:18 PM
How to move users FC3 mstone07 Fedora - Installation 3 01-03-2005 04:15 PM
Move to FC3 test 2 or stick with RH9? biggles Fedora 7 10-01-2004 10:34 AM


All times are GMT -5. The time now is 02:42 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration