LinuxQuestions.org
Help answer threads with 0 replies.
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 01-08-2004, 10:43 AM   #1
decampbell1
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
I need to reallocate drive space from mount point / to /boot


I have run out of space on my boot volume and I have 1.3 gb of free on another volume... my boot vol had 50 mb and I need to increase it's size... both vols are on the same physical drive. How can I do this without loosing data and reinstalling... this is Red Hat Linux 9... Thanks


Dave
 
Old 01-08-2004, 11:34 AM   #2
@@@
Member
 
Registered: Dec 2003
Posts: 30

Rep: Reputation: 15
What do you mean with boot volume?
It depends on where you installed the bootloader.
a) MBS: Just do the usual stuff: boot from a cd or rescue system. mount the old volume read-only. mount the new volume and then tar it from the old place to the other. Read the man page of tar for preserving ownership and time.
b) same as above but you have to reinstall the bootloader...
 
Old 01-08-2004, 11:41 AM   #3
decampbell1
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
It is the ext3 file system.... which has the label /boot... I hope that is more clear... thanks
 
Old 01-08-2004, 01:06 PM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I would suggest using rsync. Create a new directory /new_boot go out of gui and login as root and do init1 to get into single user mode. Mount the partition if it is not mounted. Do rsync -avH /boot/ /new_boot if the partition is mounted under /mnt then /mnt/new_boot. Go back into multiuser mode if you wish and rename /boot /old_boot and /new_boot /boot and then edit your fstab to reflect the directory change and reboot. If I was doing this I would have Knoppix handy in case something went wrong because you may not get the system to boot if it cannot find /boot.
 
Old 01-08-2004, 02:35 PM   #5
decampbell1
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
ok... how do I shutdown gnome to get out of the gui?... I have tried loging out and I have the options of default (which is gnome) K or gnome... I have tried runing init1 from terminal and that hasnt worked... severe newbie here...
 
Old 01-08-2004, 03:07 PM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You should have an option to go into consol when you logout or in i.e. the command line

Last edited by TigerOC; 01-08-2004 at 03:08 PM.
 
Old 01-08-2004, 03:31 PM   #7
decampbell1
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Not that I see... options on logout are logout... shutdown and restart..

at loging screen... I have the following options...
>language >session >reboot >shutdown

under session... I have the following options

Last

default

KDE


gnome


the reboot and shutdown options are self explanitory...

I don't see any other options on the login screen except username


thanks
 
Old 01-08-2004, 03:34 PM   #8
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
To boot into single user mode, simply add single to your boot string...
ie if you boot with lilo and your boot string is Linux, at lilo prompt type Linux single
If you use grub, you may need to press 'c' to go to command line.
As an alternative, from within your system open a root shell and give the command "shutdown now" without -r nor -h... you'll go to single user.

However, unless you have problems related to 2GB boot boundary (i.e. old pc and big / partition) you can simply get rid of /boot partition:
Code:
umount /boot
mkdir /tmp/boot
mount /dev/hda1(or whatever) /tmp/boot
cp -a /tmp/boot/ /boot
umount /tmp/boot
rmdir /tmp/boot
Now remove your /boot entry from /etc/fstab
If you use lilo, remember to run "lilo" to complete work
 
  


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
Move mount point to another physical drive? michaelsanford Linux - General 2 05-06-2005 02:42 PM
Need more space to a mount point salmjuh Linux - Software 0 10-18-2004 06:03 AM
FDISK! /var too big; / too small, reallocate disk space pauljtester Linux - General 2 08-05-2004 09:10 PM
How to resize a partition or reallocate space? Avatar Linux - Newbie 12 04-22-2004 05:11 PM
mount point on new drive mnauta Linux - General 5 01-09-2004 07:42 PM


All times are GMT -5. The time now is 01:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration