View previous topic :: View next topic |
Author |
Message |
grant123 Veteran

Joined: 23 Mar 2005 Posts: 1099
|
Posted: Wed Aug 16, 2017 2:09 pm Post subject: Install portage over running LiveCD |
|
|
I mailed a Gentoo LiveCD to my host to boot my server so I can install Gentoo, but it turns out the CD doesn't include portage or zfs. I'd like to install zfs so I tried to extract a portage package from another install but I got this:
Code: | error: [Errno 30] Read-only file system: '/usr/lib64/python3.4/site-packages/portage/__init__.py' |
Can I make this work?
Code: | # mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=4115861,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on / type tmpfs (rw,relatime)
/dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime)
/dev/loop0 on /mnt/livecd type squashfs (ro,relatime)
tmpfs on /run type tmpfs (rw,nodev,relatime,size=3293380k,mode=755)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
tmpfs on /mnt/livecd/usr/portage type tmpfs (rw,relatime) |
|
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10763 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Aug 16, 2017 2:37 pm Post subject: |
|
|
Short answer is not really. The best way is to perform a normal Handbook install from your booted Live CD.
Edit: Wait. I see. You shipped an install medium that doesn't support ZFS, right? Back when I did this, I used Catalyst to produce a minimal install CD with ZFS support. I think there are better alternatives now. Just checked SystemRescueCd and it does not yet support ZFS. Perhaps someone will chime in with a recommendation for a Live CD with ZFS support.
If I had to proceed with what you've delivered to your provider, I'd create a minimal working Linux with ZFS support on the server, leaving the majority of the space unpartitioned, boot into that, and then install your full (pure ZFS) Linux on the remaining space. Boot and swap partitions could remain the same.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters.
Last edited by John R. Graham on Wed Aug 16, 2017 2:50 pm; edited 1 time in total |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31587 Location: here
|
Posted: Wed Aug 16, 2017 2:49 pm Post subject: |
|
|
John R. Graham wrote: | Edit: Wait. I see. You shipped an install medium that doesn't support ZFS, right? Back when I did this, I used Catalyst to produce a minimal install CD with ZFS support. I think there are better alternatives now. Just checked SystemRescueCd and it does not yet support ZFS. Perhaps someone will chime in with a recommendation for a Live CD with ZFS support. |
There is ZFS-for-SystemRescueCD project created by user kernelOfTruth _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10763 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Aug 16, 2017 2:50 pm Post subject: |
|
|
Excellent! _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31587 Location: here
|
Posted: Wed Aug 16, 2017 2:52 pm Post subject: |
|
|
Or also this _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
grant123 Veteran

Joined: 23 Mar 2005 Posts: 1099
|
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31587 Location: here
|
Posted: Wed Aug 16, 2017 3:10 pm Post subject: |
|
|
grant123 wrote: | Can I use that ISO on a USB stick? |
I think that howto Installing SystemRescueCd on a USB stick work for this ISO _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
mrbassie l33t


Joined: 31 May 2013 Posts: 842 Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.
|
Posted: Wed Aug 16, 2017 4:03 pm Post subject: |
|
|
It does. |
|
Back to top |
|
 |
grant123 Veteran

Joined: 23 Mar 2005 Posts: 1099
|
Posted: Wed Aug 16, 2017 5:14 pm Post subject: |
|
|
Those instructions are too extensive to relay to my host I think. No 1 or 2 liner for putting an ISO on a USB stick?
If not I should burn the Fearedbliss CD and mail it in. Thanks everyone! |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23336
|
Posted: Thu Aug 17, 2017 1:32 am Post subject: |
|
|
You're welcome to send in another CD, but personally, I like John's approach. You could even extend it by saying that the temporary system will be placed in the partition that will ultimately become swap, so that when you use it to install the long term system, you can put all the filesystems where you want them and with the sizes you want. Then, when the long term system is ready to boot, boot it with no swap. Delete the temporary system and turn its storage into swap. Tell the long term system to use that space as swap. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|