[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Server setup



On Mon 14 Jun 2021 at 16:39:11 (-0400), Polyna-Maude Racicot-Summerside wrote:
> I can understand the idea of cutting out part of the messages when I
> answer. But this is now forcing me to repeat many times...

The idea is to cut out the water that's passed under the bridge, so to
speak. You don't need to keep repeating yourself: it's all either in
people's mailbox or on the web, should they wish to revisit it.

> On 2021-06-14 3:50 p.m., Andy Smith wrote:
> > Hi Polyna-Maude,
> > 
> > On Mon, Jun 14, 2021 at 12:31:08PM -0400, Polyna-Maude Racicot-Summerside wrote:
> >> Now what I did was to install the machine using the "helper" given by
> >> the provider (OVH/OneProvider). This way I can dissect the working
> >> system and see how the configuration is done.
> > 
> > So what does it look like after that, and what do you want to
> > change?
> > 
> Like I already said, the "helper" that setup the whole system has the
> same skeleton for every type of hardware installation (not so good).
> 
> So it will install my system on one partition (/) and by using a RAID-0
> (Mirroring) over my 3 disk ( 3 x 2 TB).
> 
> > Maybe you can make the desired changes without reinstalling by
> > debootstrap. But if that's necessary, at least we'll understand what
> > it is that you want to achieve with that.
> 
> I would like to have my system running on different partition for home,
> usr, var, tmp, etc... This is a safe route to prevent some problem (such
> as filling up a partition that risk trashing the system).
> 
> Even if there would be a solution without doing my own re-install, I
> want to be able to do so myself. That is, install a system by mounting
> the partition, doing a debootstrap and chroot after, plus installing GRUB.

Because you didn't answer my question about partitions 3 and 4 (in
your OP), I can't tell whether repartitioning is a still just a wish,
or something you've already tried out.

> This is the first time I have to install a system using GPT with BIOS so
> I'm not sure how does it work with the BIOS boot partition.
> Do I simply create this partition and GRUB will detect it ?
> If not, how do I tell GRUB ?

If Grub is being asked to configure itself for BIOS booting, then
you've already told it, by virtue of the partition type: BIOS Boot.
You merely create this partition and leave it untouched. (It doesn't
matter if you do touch it: Grub will overwrite it whatever you do.)
Its sole purpose is to provide some undisturbed sectors for Grub
to write its core image on a GPT disk, substituting for the so-called
"MBR gap", a precarious area on an MBR disk between the partition
table and the start of the first partition.

> Also, does simply running debootstrap is enough to have my *initrd*
> created ? I presume I must install a kernel "post" chroot...

I think deloptes posted the answer to this already, in their recipe.

> Regarding the network configuration, I'm a bit lost with systemd....
> 
> Hope this give you more information on what I'm trying to achieve.

Cheers,
David.


Reply to: