You are not logged in.
Pages: 1
Hello,
I'm trying to install Arch on an USB, to make a portable OS. It's a 16GB drive, and I've set it up so:
Number Start (sector) End (sector) Size Code Name
1 2048 526335 256.0 MiB EF00
2 526336 6817791 3.0 GiB 8300
3 6817792 31277055 11.7 GiB 0700
where:
SDB1 = 256MiB ESP
SDB2 = 3 GiB ext4 for /
SDB3 = the rest of the space for /home
I used the filesystem fat32 for sdb3 because I want to access the data even if the system isn't on. I'd try to make the system as portable as I can; indeed I went for the vesa generic driver.
The system boots correctly, except that whenever I add a new user, it cannot write into its own home even. It can't because the owner is root, but it shouldn't be so.
I did install the system with a live cd, but trying from my current system, it doesn't work either.
Offline
Did you do any research about putting /home on fat? It doesn't support POSIX attributes s/a ownership and permissions. I'm pretty sure that makes it a no go.
IMO you should use a small [linux] partition for /home and another partition for data.
Also, in my experience Windows won't acknowledge multiple partitions on a USB drive (it will only 'mount' the first one). But that's with MBR partitioned drives; maybe it's different with GPT.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Did you do any research about putting /home on fat? It doesn't support POSIX attributes s/a ownership and permissions. I'm pretty sure that makes it a no go.
Pretty much this. Same with NTFS. If you want to have the files accessible in Windows in your home partition, it's time to completely re-partition the drive again, and learn either how to symlink or something else to deal with the accessibility in Windows issue.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
I guessed that the problem could be the fs itself. Basically, I would make an usb which can be both a portable OS and a "classic" usb where you connect it and access the data. I'm gonna try to include the /home inside / and make fstab mount sdb3 into it. (therefor sdb3 won't be the /home anymore but it'll be instead mounted into it )
Last edited by Grant (2013-11-30 13:08:57)
Offline
I'd just drop the FAT partition as home, and mount it to e.g. /data. Then I'd use bind mounts or symlinks to link e.g. ~/Documents to /data/documents. It'd save the effort of repartitioning.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1