0

I'm trying to install Alpine Linux for a school project. I ran through the setup-alpine procedure without installing it for a couple times to familiarize myself with the procedure. However there is a point where I still have doubts, that is how to install alpine to a specific partition without running the rick of it erasing the whole HD. The setup-alpine only offers the option to install on sda. I read the wiki about manuall selecting a partition, which mention using setup-disk, but I'm not not clear if i have to run setup-disk BEFORE setup-alpine of INSTEAD of setup-alpine. I have already set up the partition where to install Alpine /dev/sda6. Also the wiki says setup-disk would automatically create a /boot and swap partition within the volume where it installs the system, which i don't want since 0 have already a swap partition on the HD.

So, my question is:

How do I proceed to install Alpine on /dev/sda6 without: 1) messing the whole HD 2) installing a bootloader in MBR 3) creating a swap partition anywhere 4) possibly without creating a separate /boot partition in the volume where it install the system (because i read booting Alpine with Grub from another install gets tricky)

Note: I ask this question here because: a) Alpine forum has been disabled b) guys on their IRC channel doesn't answer c) their website suggest to ask questions here.

9
  • Why not use a virtual machine instead?
    – T Nierath
    May 14, 2018 at 19:23
  • The purpose of the school project is to create an installed minimal system. May 14, 2018 at 19:32
  • VMs and real hardware are pretty much the same thing. Unless your assignment is about installing it besides another OS I wouldn't risk busting up my system for it.
    – T Nierath
    May 14, 2018 at 19:38
  • Well, yes, the idea is to learn how to do it. I'm sure it's possible (any Linux system can be installed on any partition). In the Alpine wiki, the previous installer was more explicit about this, whereas the new one, trying to automatize the process, is not so clear as to the procedure. At least to me. May 14, 2018 at 19:49
  • You could first setup an ubuntu on the vm, then take a snapshot, then try to setup alpine on an additional partition. If something goes wrong you just would reload the snapshot. Much easier workflow for experiments like that. Can't help you on alpine question itself however, sorry.
    – T Nierath
    May 14, 2018 at 19:52

1 Answer 1

1

Well, I found pretty much all I needed to know in the Wiki at:

https://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting

The problem was that the main installation Wiki was a bit terse on the topic and I'm unfamiliar with Alpine procedures. Also, the sysroot system error at boot was due to a my own mistake, a misplaced digit coping the blkid UUID datas in the /etc/grub.d/40_custom file. Alpine is not difficult to install in dual booting, it only takes a bit of extra attention to details.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .