remount the install partition during livecd install
Linux - NewbieThis 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!
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.
TobiSGD: thx, i tried that using "mount -l", however the output didnt list my target partition (sda2 in my case). Only "/rootfs on /", but thats the livecd i guess.
archtoad6: yes i intend to install sabayon, thats why im using a sabayon livecd. if i fooled someone im very sorry for that.
druuna: thx for the link. but as far as i can see the tutorial is not using compress or ssd option at any point. however compress,ssd is what im after.
I feel i have to clarify my problem:
i would like to install sabayon. my root partition (except boot) should be on a btrfs filesystem. until now no problem.
here is the problem: the installer doesnt by itself allow to mount the target partition with the btrfs option "compress,ssd". only after install has completed i can edit fstab to add compress,ssd. but then its too late since most of the files have already been written uncompressed to the disk. i would have to wait a long time until every package has been updated.
so my idea was to find a way to mount the target partition using compress,ssd even BEFORE i install the whole system (still sabayon). for that, one possibility is to "remount" the partition after it has been created, but before the files are written to it by the sabayon installer. im looking for the one command line that can do this. just a "simple" remount (using sabayon).
When the installer mounts that partition just before copying the files you have no chance to remount the partition. In my eyes you have three options:
1. Alter the installer.
2. Use Gentoo instead of Sabayon.
3. Do a regular install, boot from a live-medium, tar all the files on that disk to a different place, delete all files from the partition, mount it with the wanted options, untar the previous tarred files to the partition and alter your /etc/fstab with your mount options.