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!
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.
remount the install partition during livecd install
Hi,
i would like to remount the destination install partition during a livecd install so that i can mount (remount) it the btrfs partition (/) with the additional options compress=zlib,ssd.
the overall goal is to use the btrfs compression feature right from installation, and not only after system has been installed and i can edit the fstab.
the system i use is sabayon, but i guess at this point in installation most systems are similar.
I'm not sure it is possible what you want to do. Aren't the options you want available from the (advanced) install screens?
You might get a better response from the LQ community if you tell us which distro you are trying to install and if this is a regular (as in not automated) install.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,669
Rep:
I've no idea if this is applicable but I remember installing SunOS to an old (New at the time) Sun workstation, Motorola M680xx, pre Sparc CPU. The files were loaded onto the swap partition from which the OS was installed after an auto reboot. Once the final system was booted, the partition reverted to swap and was overwritten.
OK, probably no help at all to you at all, though I note that Live CDs appear to copy all the files over to the hard disk before instalation as well.
mount -o remount,compress,ssd /dev/mapper/target /target -t btrfs
however i wasnt able to properly determine what the path would be in my special case, since im in a live cd environment and i want to remount the root of the target(destination) installation.
When in your install environment, after partitioning and before the actual install to the disk, run
Code:
mount
without any parameters (may be with sudo, I don't know about Sabayon) in a console. This will list all mounted partitions, this way you should easily be able to determine the targets mountpoint. If it will not show up, try this during a test install (means during the actual copying of files)to the harddisk. Once you determined the correct mountpoint and the correct device it should be easy to remount the partition.
Are you aware that your quick response -- one which was reported to the mods as "unhelpful" -- knocked this thread off LQ's 0-reply list & thus lessened its exposure to potential answers?
Last edited by archtoad6; 05-06-2011 at 07:26 AM.
Reason: link to profile
You're probably right; although I'd like to plead that OP doesn't explicitly say that s/he is installing Sabayon & that s/he fooled druuna also. :eggonface:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.