LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2004, 07:41 PM   #1
alvaroprudente
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
making new partitions when running linux


I just found out that I need a tmp partition on my notebook...
the problem is as follows:
Actually my partitions look like followed:
hda1 win98
hda5 /boot
hda6 /
hda7 swap

new I want to make the win98 partition smaller and use a part of the free space for the /tmp:
hda1 win98
hda5 /tmp
hda6 /boot
hda7 /
hda8 swap

My question is not on how I do that... I just have freed the space and made out of the free space the new ext3 partition...

MY QUESTION IS: Which files do I have to change, now as I have a new partition and all the directors hdax, hday, hdaz, change...
-->Problem hdax becomes now hda(x+1)
Do I have to change the grub.conf (I use grub as bootloader)
besides that I suppose I have to add the line
/dev/hda5 /tmp ext3 defaults 0 0
to /etc/fstab (right?)
(I hope I made myself clear...)

grub.conf looks actually:
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2174.nptl)
root (hd0,4)
kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2174.nptl.img
title Fedora Core (2.4.22-1.2115.nptl)
root (hd0,4)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title DOS
rootnoverify (hd0,0)
chainloader +1

Last edited by alvaroprudente; 04-10-2004 at 07:43 PM.
 
Old 04-10-2004, 09:09 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
You shouldvr just created the /tmp partition as the last logical drive, instead of switching all the partition numbers around.

Your computer may fail to boot now.
 
Old 04-11-2004, 06:00 AM   #3
alvaroprudente
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I would have done if I could have done that... The problem was, that partition magic wasn't able to move the linux partitions and the only free space was the space behind the win98 part...

besides I have some entries in the fstab which seem to be positive for moving partitions:
"label=/
You can assign a name to a partition and this is called a label. In your example the root partition is labeled as /. The benefits are if you move the root partition to another drive or another partition the bootloader is still able to find where it is. "

link

Last edited by alvaroprudente; 04-11-2004 at 07:30 AM.
 
  


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
Making Partitions: How big, how many, what kind? Cinematography Linux - Newbie 17 05-13-2005 06:05 PM
Making new partitions Maintech Linux - Software 5 10-08-2004 02:13 AM
partitions/making room for LFS silverback011 Linux From Scratch 6 08-15-2004 12:22 PM
making partitions JMK Linux - Newbie 7 01-21-2004 04:49 PM


All times are GMT -5. The time now is 02:25 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