Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]expanding the entire Filesystem to new Hard Disk?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zacinfinite
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2011
Posts: 90

PostPosted: Tue Aug 02, 2011 8:33 am    Post subject: [SOLVED]expanding the entire Filesystem to new Hard Disk? Reply with quote

I have installed Gentoo on one 80Gb Hdd. Everythings Cool!
Now I have installed a new 40Gb harddisk to my PC.

Is it possible to expand the entire filesystem to this new extra space?
Is it possible in Linux?

PS: I can definitely use the new HDD space to store my files, but Just for curiositys sake I want to know whether i can expand my entire filesystem to this new space.


Last edited by zacinfinite on Tue Aug 02, 2011 4:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Aug 02, 2011 8:41 am    Post subject: Reply with quote

http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29
http://www.gentoo.org/doc/en/lvm2.xml
http://en.gentoo-wiki.com/wiki/LVM
:?:

EDIT: After reading some of that, I think it might be harder to change your current installation. Maybe someone with more knowledge and hands-on use of lvm can guide you.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3522

PostPosted: Tue Aug 02, 2011 12:07 pm    Post subject: Reply with quote

LVM usually has to be done as part of the installation. It can be done after, but that's even more of a pain.

In your case, I would suggest finding some part of your setup that would naturally and happily fit into 40G, including appropriate room for growth. Then make a new partition on the 40G drive and copy the data over. Depending on what you've chosen to move, specific steps will vary. You might have to do the actual work from a CDboot, like SysRescueCD.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
zacinfinite
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2011
Posts: 90

PostPosted: Tue Aug 02, 2011 4:35 pm    Post subject: Reply with quote

So it seems like a Big Pain thing. But its possible in Linux. I'll give it a try. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum