Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
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.
I'm prepared to remove LFS 6.0 which is being built and to start building LFS 6.1. I'm now making preparation according to the "book read_on_line"; http://www.linuxfromscratch.org/lfs/view/stable/
# fdisk -l
Code:
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2563 20482875 83 Linux
/dev/hda3 2564 2690 1020127+ 82 Linux swap
/dev/hda4 2691 4865 17470687+ 5 Extended
/dev/hda5 2691 3907 9775521 83 Linux
/dev/hda6 3908 4637 5863693+ 83 Linux
/dev/hda7 4638 4865 1831378+ 83 Linux
To my understanding if the SWAP of FC3 host (/dev/hda3) is to be shared with LFS 6.1, I don't need to create a new SWAP partition. How can I tell LFS 6.1 to share the SWAP partition of FC3 host?
am, u see if u paste 1st to fstab system at boot will try to mount swap partition in "swap" dir(probably in / dir) and 1st of all "swap" doesn't exist and 2nd try to mount swap somewere and u will see...
second line "tells" system at boot that swap partition has no mount point and won't be mounted. insted of it "swapon /dev/hda3" will be executed.
Distribution: LFS, I felt the itch and scratched it
Posts: 227
Rep:
Quote:
Originally posted by Yoyo302 hi
am, u see if u paste 1st to fstab system at boot will try to mount swap partition in "swap" dir(probably in / dir) and 1st of all "swap" doesn't exist and 2nd try to mount swap somewere and u will see...
second line "tells" system at boot that swap partition has no mount point and won't be mounted. insted of it "swapon /dev/hda3" will be executed.
Hmm, I have no problems with swap in the second column. I think if it sees swap there it treats it as swap.
df -T shows mounted partitions by the command mount. If you want to see if your swap partition is up, use
swapon -s
Distribution: LFS, I felt the itch and scratched it
Posts: 227
Rep:
The priority indicates (if you had multiple swap partitions) the order in which they should be used. -1 would be the fastest (the one closest to the beginning of the hard drive, which is the fastest place on the hard drive to access) and the most used. Use positive numbers (i.e. 0, 1, 2, 3, 4, 5, 6...) for any others with lower priority and those will be the slower ones and less used. Although you shouldn't really have to worry about that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.