Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install portage over running LiveCD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Wed Aug 16, 2017 2:09 pm    Post subject: Install portage over running LiveCD Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Aug 16, 2017 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21782
Location: here

PostPosted: Wed Aug 16, 2017 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Aug 16, 2017 2:50 pm    Post subject: Reply with quote

Excellent!
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21782
Location: here

PostPosted: Wed Aug 16, 2017 2:52 pm    Post subject: Reply with quote

Or also this
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Wed Aug 16, 2017 3:05 pm    Post subject: Reply with quote

This is a great guide and it includes a link to a modified LiveCD with ZFS support:

https://wiki.gentoo.org/wiki/User:Fearedbliss/Installing_Gentoo_Linux_On_ZFS

Wish I had mailed that one in instead. I think my host is willing to download something onto a USB stick and boot with that. Can I use that ISO on a USB stick?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21782
Location: here

PostPosted: Wed Aug 16, 2017 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 538

PostPosted: Wed Aug 16, 2017 4:03 pm    Post subject: Reply with quote

fedeliallalinea wrote:
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


It does.
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Wed Aug 16, 2017 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13845

PostPosted: Thu Aug 17, 2017 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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