LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-16-2010, 05:01 PM   #1
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Rep: Reputation: 15
Swap on gentoo build from ubuntu.


I am building gentoo through a fully installed Ubuntu system. My swap partition is in use by the Ubuntu system so when I use the mkswap command I get that the partition is already in use. I expected this but I was wondering if postponing the mount of swap until after I have booted into the gentoo system would cause any problems. Am I going to have to edit a bunch of files if I mount my swap later?? Also, I didn't see any manuals mentioning building a gentoo system from a fully installed system, is that going to cause any problems? This is my first gentoo installation, so I'm not really experienced with gentoo. I didn't think that building from a full install would be any different than a live cd other than more resources are already in use.

I'm not actually having problems with install. I just want to make sure I wont. Thanks.
 
Old 02-16-2010, 05:08 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
No, if you don't run out of physical memory, then your machine won't give two hoots about the state of the swap. and adding it back later is just a case of a line in fstab and nothing more at all.
 
Old 02-16-2010, 05:12 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
And you *really* don't want to do that mkswap at all.
Because if you do the UUID will change and Ubuntu won't boot. One of the perils of using UUID.
 
Old 02-16-2010, 05:19 PM   #4
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Original Poster
Rep: Reputation: 15
Thank you both for the VERY quick response. And thanks for the warning about the mkswap cmd. I didn't think about that. Also, I have plenty of ram so I should be fine (8gb). So all I will have to do is edit the fstab later right, I dont have to use the swapon cmd or anything right??
 
Old 02-16-2010, 05:20 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, swapon is just the direct equivalent for a swap partition to mount for a filesystem, all handled on boot.
 
  


Reply

Tags
gentoo, install, swap



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
gentoo newbie/x won't build methodtwo Linux - Software 7 11-24-2007 04:16 PM
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
Gentoo swap not used. Hum4ngus Linux - Newbie 5 06-20-2005 07:40 AM
problem with amd64 build of gentoo citrus Linux - General 2 01-17-2005 08:47 AM
Ho hard to swap motherboard and keep the same kernel/build? bruce1271 Linux - Hardware 8 12-11-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 PM.

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
Open Source Consulting | Domain Registration