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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-08-2005, 09:23 PM
|
#1
|
Member
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137
Rep:
|
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.
|
|
|
03-10-2005, 06:35 AM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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"
|
|
|
03-10-2005, 08:09 AM
|
#3
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
if you install your new hdd as primary master, you'll need to re-install grub as well.
|
|
|
03-10-2005, 09:52 AM
|
#4
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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.
|
|
|
03-11-2005, 07:20 PM
|
#5
|
Member
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137
Original Poster
Rep:
|
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.
|
|
|
03-11-2005, 07:26 PM
|
#6
|
Member
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137
Original Poster
Rep:
|
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.
|
|
|
03-12-2005, 10:56 PM
|
#7
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
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 01:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|