Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236048 > unrolled thread

Server setup

Started byPolyna-Maude Racicot-Summerside <debian@polynamaude.com>
First post2021-06-13 01:10 +0200
Last post2021-06-13 20:00 +0200
Articles 14 on this page of 34 — 13 participants

Back to article view | Back to linux.debian.user


Contents

  Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 01:10 +0200
    Re: Server setup Georgi Naplatanov <gosho@oles.biz> - 2021-06-13 15:30 +0200
      Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 19:00 +0200
        Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 20:00 +0200
          Re: Server setup john doe <johndoe65534@mail.com> - 2021-06-13 20:20 +0200
            Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 20:30 +0200
            Re: Server setup john doe <johndoe65534@mail.com> - 2021-06-13 21:00 +0200
              Re: Server setup Georgi Naplatanov <gosho@oles.biz> - 2021-06-13 21:40 +0200
                Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 21:50 +0200
                  Re: Server setup Greg Wooledge <greg@wooledge.org> - 2021-06-13 22:00 +0200
                    Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 22:50 +0200
                    Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 22:50 +0200
                      Emphasis notation in plain-text mail (was Re: Server setup) The Wanderer <wanderer@fastmail.fm> - 2021-06-13 23:00 +0200
                        Re: Emphasis notation in plain-text mail (was Re: Server setup) The Wanderer <wanderer@fastmail.fm> - 2021-06-13 23:40 +0200
                          Re: Emphasis notation in plain-text mail (was Re: Server setup) Richard Owlett <rowlett@cloud85.net> - 2021-06-14 12:50 +0200
                          Re: Emphasis notation in plain-text mail (was Re: Server setup) Jonathan Dowland <jon+debian-user@dow.land> - 2021-06-15 00:00 +0200
                        Re: Emphasis notation in plain-text mail (was Re: Server setup) Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-13 23:40 +0200
            Re: Server setup deloptes <deloptes@gmail.com> - 2021-06-14 00:20 +0200
          Re: Server setup deloptes <deloptes@gmail.com> - 2021-06-14 00:30 +0200
            Re: Server setup Richard Owlett <rowlett@cloud85.net> - 2021-06-14 12:30 +0200
          Re: Server setup David Wright <deblis@lionunicorn.co.uk> - 2021-06-14 17:30 +0200
            Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-14 18:40 +0200
              Re: Server setup Andy Smith <andy@strugglers.net> - 2021-06-14 22:00 +0200
                Re: Server setup Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-14 22:40 +0200
                  Re: Server setup Andy Smith <andy@strugglers.net> - 2021-06-14 23:20 +0200
                  Re: Server setup Greg Wooledge <greg@wooledge.org> - 2021-06-14 23:30 +0200
                    Re: Server setup Dan Ritter <dsr@randomstring.org> - 2021-06-15 00:20 +0200
                    Re: Server setup Richard Hector <richard@walnut.gen.nz> - 2021-06-15 03:50 +0200
                  Re: Server setup Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-15 06:30 +0200
                    Re: Server setup David Wright <deblis@lionunicorn.co.uk> - 2021-06-15 07:10 +0200
                      Re: Server setup Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-16 09:30 +0200
                  Re: Server setup David Wright <deblis@lionunicorn.co.uk> - 2021-06-15 07:00 +0200
              Re: Server setup David Wright <deblis@lionunicorn.co.uk> - 2021-06-15 07:00 +0200
        Re: Server setup Georgi Naplatanov <gosho@oles.biz> - 2021-06-13 20:00 +0200

Page 2 of 2 — ← Prev page 1 [2]


#236102

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2021-06-14 17:30 +0200
Message-ID<CpWHf-2is-1@gated-at.bofh.it>
In reply to#236069
On Sun 13 Jun 2021 at 13:57:33 (-0400), Polyna-Maude Racicot-Summerside wrote:

> You must also have a huge need to answer question without reading what
> they are.
> 
> I ain't using the Debian installer because I don't have access to the
> KVM (Keyboard, Mouse, etc).
> 
> So if you read back my message.
> I boot using a rescue system over the network.
> I do my partition.
> I make the filesystem.
> I mount.
> I use debootstrap.
> And after I need to configure boot, this is where it blocks.
> 
> Got it now ?
> 
> So how useful is your answer to use "the wizard in the installer ?".
> And no there's no configuration helper (said it for the 3rd time now).
> 
> If you can't help... Just a hint, do same as I do, you let other people
> answer.

I don't know whether I can be of any help, but I can ask a few questions.

You wrote "The machine doesn't seem to use EFI (like most server)"

You really need to know. What does /sys/firmware/ contain, in particular,
/sys/firmware/efi… ?

  "and I only see the following partition using the automatic installer."

Did you mean disk, rather than partition? What's in /sys/block/ ?

You wrote 'The "standard" installation give me one partition in RAID
mirror ( 3 x 2 To). So I get only a big root partition and nothing else....'

Does that mean that the partitioning was done on your behalf?
"I do my partition. I make the filesystem." seems to contradict that.
Do you know what the 3rd and 4th partitions are intended for?

  "But I get a bit lost when it's time to use grub to setup my machine by remote."

Did the "standard" installation give you any hints about setting up
booting on the machine, or is that why standard is in scare quotes.
(Or is it unusual for a standard install method to make any mention
of such important matters.)

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#236103

FromPolyna-Maude Racicot-Summerside <debian@polynamaude.com>
Date2021-06-14 18:40 +0200
Message-ID<CpXN0-2TQ-9@gated-at.bofh.it>
In reply to#236102

[Multipart message — attachments visible in raw view] — view raw

Hi,

On 2021-06-14 11:21 a.m., David Wright wrote:
> On Sun 13 Jun 2021 at 13:57:33 (-0400), Polyna-Maude Racicot-Summerside wrote:
> 
>> You must also have a huge need to answer question without reading what
>> they are.
>>
>> I ain't using the Debian installer because I don't have access to the
>> KVM (Keyboard, Mouse, etc).
>>
>> So if you read back my message.
>> I boot using a rescue system over the network.
>> I do my partition.
>> I make the filesystem.
>> I mount.
>> I use debootstrap.
>> And after I need to configure boot, this is where it blocks.
>>
>> Got it now ?
>>
>> So how useful is your answer to use "the wizard in the installer ?".
>> And no there's no configuration helper (said it for the 3rd time now).
>>
>> If you can't help... Just a hint, do same as I do, you let other people
>> answer.
> 
> I don't know whether I can be of any help, but I can ask a few questions.
> 
> You wrote "The machine doesn't seem to use EFI (like most server)"
> 
The machine doesn't use EFI, like most server it's BIOS based. I know
this one for sure, there's a BIOS boot partition.

> You really need to know. What does /sys/firmware/ contain, in particular,
> /sys/firmware/efi… ?
> 
>   "and I only see the following partition using the automatic installer."
> 

The server provider (one-provider/OVH) offer a choice of OS (include
Debian Buster) but there's no configuration from the user. So it just
build a huge partition. I have 3 x 2 Tb disk and it makes them in RAID-0
(mirror).

> Did you mean disk, rather than partition? What's in /sys/block/ ?
> 
> You wrote 'The "standard" installation give me one partition in RAID
> mirror ( 3 x 2 To). So I get only a big root partition and nothing else....'
> 
> Does that mean that the partitioning was done on your behalf?
> "I do my partition. I make the filesystem." seems to contradict that.
> Do you know what the 3rd and 4th partitions are intended for?
> 

Because the installation does the partition on my behalf, I preferred to
do another way. That is, boot the system into rescue mode, that's a
Linux system over the network. There I can partition my own disk, and
after use debootstrap.


>   "But I get a bit lost when it's time to use grub to setup my machine by remote."
> 
> Did the "standard" installation give you any hints about setting up
> booting on the machine, or is that why standard is in scare quotes.
> (Or is it unusual for a standard install method to make any mention
> of such important matters.)
> 
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.


> Cheers,
> David.
> 

Thanks,

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development

[toc] | [prev] | [next] | [standalone]


#236104

FromAndy Smith <andy@strugglers.net>
Date2021-06-14 22:00 +0200
Message-ID<Cq0Ux-4FT-3@gated-at.bofh.it>
In reply to#236103
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?

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.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

[toc] | [prev] | [next] | [standalone]


#236105

FromPolyna-Maude Racicot-Summerside <debian@polynamaude.com>
Date2021-06-14 22:40 +0200
Message-ID<Cq1xf-57W-3@gated-at.bofh.it>
In reply to#236104

[Multipart message — attachments visible in raw view] — view raw

Hi,
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...

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.

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 ?

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

Regarding the network configuration, I'm a bit lost with systemd....
> 
> Cheers,
> Andy
> 

Hope this give you more information on what I'm trying to achieve.


-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development

[toc] | [prev] | [next] | [standalone]


#236106

FromAndy Smith <andy@strugglers.net>
Date2021-06-14 23:20 +0200
Message-ID<Cq29X-5Ae-3@gated-at.bofh.it>
In reply to#236105
Hello,

On Mon, Jun 14, 2021 at 04:39:11PM -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...

You're being asked direct questions because your rambling style has
no real information about what exactly you're trying to achieve.

Instead of answering the direct questions you provide rude responses
berating the people that are trying to help you. You are what is
known as a support vampire and as a rule I do not participate in
that. Good luck.

Andy

[toc] | [prev] | [next] | [standalone]


#236107

FromGreg Wooledge <greg@wooledge.org>
Date2021-06-14 23:30 +0200
Message-ID<Cq2jD-5Et-7@gated-at.bofh.it>
In reply to#236105
On Mon, Jun 14, 2021 at 04:39:11PM -0400, Polyna-Maude Racicot-Summerside wrote:
> 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).

"etc."?  As in, that's NOT EVEN THE ENTIRE LIST ?!?

Come on.  Get real here.

You say in the subject that this is a "server".  Therefore /home is not
an issue.  There aren't any end users filling up their home directories
to worry about.

Separate /usr is basically no longer a supported configuration.  The
usrmerge stuff, and so on... well, I won't drone on about it.

Separate /tmp is a whole can of worms all by itself.  You might just
want to make that a RAM-based file system.  There are a few varieties
of that.

Out of the partitions you listed, pretty much the only one that makes
sense to separate on certain kinds of servers is /var.  And even then,
you might be better off separating some *subdirectory* (or multiple
subdirectories) of /var instead.  It depends on what this "server" is
supposed to do.  Is it a mail server?  Then the mail queue might be
something you separate.  A database server?  Then perhaps the directory
where the database files live could be separated.

But really, it sounds like you're just blindly following some *massively*
outdated and deprecated advice which serves no real purpose in your
actual situation.

You said that you have the ability to boot the server in rescue mode
remotely.  If you can do that and *shrink* the root file system, you
could reallocate some of the disk space to a separate /var, but that's
going to be a pain in the ass to do, and you shouldn't even bother unless
there's an actual justification for it.

[toc] | [prev] | [next] | [standalone]


#236110

FromDan Ritter <dsr@randomstring.org>
Date2021-06-15 00:20 +0200
Message-ID<Cq361-6eX-1@gated-at.bofh.it>
In reply to#236107
Greg Wooledge wrote: 
> On Mon, Jun 14, 2021 at 04:39:11PM -0400, Polyna-Maude Racicot-Summerside wrote:
> > 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).
> 
> "etc."?  As in, that's NOT EVEN THE ENTIRE LIST ?!?
> 
> Come on.  Get real here.

This is a pretty good case for ZFS. zfs volumes sharing a zpool
can be quota'd so that they each have allocations; setting the
total quota to less than the zpool capacity (80% would be a good
percentage) means that there should be lots of time between the
event daemon telling you that a filesystem is running out of
room and you having to do anything significant about it.

Bonuses: snapshots, compression, and better-than-rsync backups.

All of Greg's concerns are valid.

-dsr-

[toc] | [prev] | [next] | [standalone]


#236112

FromRichard Hector <richard@walnut.gen.nz>
Date2021-06-15 03:50 +0200
Message-ID<Cq6nf-82h-1@gated-at.bofh.it>
In reply to#236107
On 15/06/21 9:26 am, Greg Wooledge wrote:
> On Mon, Jun 14, 2021 at 04:39:11PM -0400, Polyna-Maude Racicot-Summerside wrote:
>> 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).
> 
> "etc."?  As in, that's NOT EVEN THE ENTIRE LIST ?!?
> 
> Come on.  Get real here.

Or /etc, which might be worse ...

Richard

[toc] | [prev] | [next] | [standalone]


#236119

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-06-15 06:30 +0200
Message-ID<Cq8S5-1kw-1@gated-at.bofh.it>
In reply to#236105

[Multipart message — attachments visible in raw view] — view raw

On Lu, 14 iun 21, 16:39:11, Polyna-Maude Racicot-Summerside wrote:
> 
> Like I already said, the "helper" that setup the whole system has the
> same skeleton for every type of hardware installation (not so good).

As most of us are probably not customers of your hosting provider we 
have no idea what "helper" you mean above.
 
> So it will install my system on one partition (/) and by using a RAID-0
> (Mirroring) over my 3 disk ( 3 x 2 TB).

I'm guessing you meant RAID-1 here, since RAID-0 is striping.

https://en.wikipedia.org/wiki/Standard_RAID_levels

At a minimum you could provide the output of `fdisk -l`.
 
[...]

> 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.

What is a "BIOS boot partition"? On BIOS systems grub must be installed 
in the MBR of the boot device, special partitions are needed for UEFI.

> Do I simply create this partition and GRUB will detect it ?
> If not, how do I tell GRUB ?
> 
> Also, does simply running debootstrap is enough to have my *initrd*
> created ? I presume I must install a kernel "post" chroot...

Indeed, kernel images are 'Priority: optional', since debootstrap is 
also used for chroots. You should probably install linux-image-amd64, 
because it depends on the newest kernel.

> Regarding the network configuration, I'm a bit lost with systemd....

The Debian specific ifupdown is still supported and installed by 
default, so you can put your config in /etc/network/interfaces as usual.

The systemd components systemd-networkd and systemd-resolved are 
optional and disabled by default of Debian (see 
/usr/share/doc/systemd/README.Debian).


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#236123

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2021-06-15 07:10 +0200
Message-ID<Cq9uO-1MC-5@gated-at.bofh.it>
In reply to#236119
On Tue 15 Jun 2021 at 07:21:33 (+0300), Andrei POPESCU wrote:
> On Lu, 14 iun 21, 16:39:11, Polyna-Maude Racicot-Summerside wrote:

> > 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.
> 
> What is a "BIOS boot partition"?

BIOS booting needs¹ a BIOS­Boot partition on a GPT disk.
It's not a BIOS boot­partition, because people use the
term boot­partition to mean a partition/filesystem that's
mounted at /boot.

I have just posted what it's for, so I won't repeat here.

> On BIOS systems grub must be installed in the MBR of the boot device,

I think Felix disputed "should", let alone "must", just last Friday.

> special partitions are needed for UEFI.

UEFI booting needs to find an ESP somewhere. Which other special
partitions are required?

¹ There are risky ways of avoiding it, like putting the core image in
  a filesystem and praying that it doesn't ever get moved.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#236159

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-06-16 09:30 +0200
Message-ID<Cqy9Q-8mD-3@gated-at.bofh.it>
In reply to#236123

[Multipart message — attachments visible in raw view] — view raw

On Lu, 14 iun 21, 23:59:58, David Wright wrote:
> On Tue 15 Jun 2021 at 07:21:33 (+0300), Andrei POPESCU wrote:
> > On Lu, 14 iun 21, 16:39:11, Polyna-Maude Racicot-Summerside wrote:
> 
> > > 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.
> > 
> > What is a "BIOS boot partition"?
> 
> BIOS booting needs¹ a BIOS­Boot partition on a GPT disk.
> It's not a BIOS boot­partition, because people use the
> term boot­partition to mean a partition/filesystem that's
> mounted at /boot.
> 
> I have just posted what it's for, so I won't repeat here.

Ok, I just saw the mention in the other thread and read about it.

Funny that I didn't notice it before, but then again I haven't been 
paying much attention to threads involving BIOS/UEFI booting due to lack 
of (recent) experience with either.

> > On BIOS systems grub must be installed in the MBR of the boot device,
> 
> I think Felix disputed "should", let alone "must", just last Friday.
> 
> > special partitions are needed for UEFI.
> 
> UEFI booting needs to find an ESP somewhere. Which other special
> partitions are required?

I meant the ESP, the plural was wrong.
 
Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#236121

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2021-06-15 07:00 +0200
Message-ID<Cq9l7-1u2-7@gated-at.bofh.it>
In reply to#236105
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.

[toc] | [prev] | [next] | [standalone]


#236120

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2021-06-15 07:00 +0200
Message-ID<Cq9l7-1u2-3@gated-at.bofh.it>
In reply to#236103
On Mon 14 Jun 2021 at 12:31:08 (-0400), Polyna-Maude Racicot-Summerside wrote:
> On 2021-06-14 11:21 a.m., David Wright wrote:
> > On Sun 13 Jun 2021 at 13:57:33 (-0400), Polyna-Maude Racicot-Summerside wrote:
> > 
> >> You must also have a huge need to answer question without reading what
> >> they are.
> >>
> >> I ain't using the Debian installer because I don't have access to the
> >> KVM (Keyboard, Mouse, etc).
> >>
> >> So if you read back my message.
> >> I boot using a rescue system over the network.
> >> I do my partition.
> >> I make the filesystem.
> >> I mount.
> >> I use debootstrap.
> >> And after I need to configure boot, this is where it blocks.
> >>
> >> Got it now ?
> >>
> >> So how useful is your answer to use "the wizard in the installer ?".
> >> And no there's no configuration helper (said it for the 3rd time now).
> >>
> >> If you can't help... Just a hint, do same as I do, you let other people
> >> answer.
> > 
> > I don't know whether I can be of any help, but I can ask a few questions.
> > 
> > You wrote "The machine doesn't seem to use EFI (like most server)"
> > 
> The machine doesn't use EFI, like most server it's BIOS based. I know
> this one for sure, there's a BIOS boot partition.

No, you've made an educated guess. The evidence would be in the next
two lines:

> > You really need to know. What does /sys/firmware/ contain, in particular,
> > /sys/firmware/efi… ?
> > 
> >   "and I only see the following partition using the automatic installer."
> > 
> 
> The server provider (one-provider/OVH) offer a choice of OS (include
> Debian Buster) but there's no configuration from the user. So it just
> build a huge partition. I have 3 x 2 Tb disk and it makes them in RAID-0
> (mirror).

I was under the impression that RAID-0 is striping, not mirroring.

> > Did you mean disk, rather than partition? What's in /sys/block/ ?
> > 
> > You wrote 'The "standard" installation give me one partition in RAID
> > mirror ( 3 x 2 To). So I get only a big root partition and nothing else....'
> > 
> > Does that mean that the partitioning was done on your behalf?
> > "I do my partition. I make the filesystem." seems to contradict that.
> > Do you know what the 3rd and 4th partitions are intended for?
> > 
> 
> Because the installation does the partition on my behalf, I preferred to
> do another way. That is, boot the system into rescue mode, that's a
> Linux system over the network. There I can partition my own disk, and
> after use debootstrap.

You can repartition the disk? Oh, OK.

> >   "But I get a bit lost when it's time to use grub to setup my machine by remote."
> > 
> > Did the "standard" installation give you any hints about setting up
> > booting on the machine, or is that why standard is in scare quotes.
> > (Or is it unusual for a standard install method to make any mention
> > of such important matters.)
> > 
> 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.

That seems reasonable. But you've left me confused. Was the
partitioning in your OP the result of the helper's installation,
or the result of your own repartitioning. It certainly looks
very odd.

BTW, AFAICT the only one of my questions that you (partially) answered
was about the partitiong. The OP asks for clues about booting with
Grub. Today's post appears to have shifted to systemd and networking.
It all looks like a blog of your activities.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#236070

FromGeorgi Naplatanov <gosho@oles.biz>
Date2021-06-13 20:00 +0200
Message-ID<CpCyR-6Wv-3@gated-at.bofh.it>
In reply to#236067
On 6/13/21 7:53 PM, Polyna-Maude Racicot-Summerside wrote:
> Hi,
> 
>>> I have a choice of OS and it does a great job running Debian Buster.
>>> But...
>>>
>>> The "standard" installation give me one partition in RAID mirror ( 3 x 2
>>> To). So I get only a big root partition and nothing else....
>>>
>>> I don't have access to my server with a KVM, so all has to be done thru
>>> the network using a recovery (rescue) option. That is, I was able to
>>> reboot in rescue mode, use debootstrap to populate a new system.
>>>
>>> Where it did fail was for the reboot.
>>
>> Hi Polyna-Maude,
>>
>> I didn't understand what you problems were. Using GPT partition table
>> with BIOS (not UEFI) is just fine therefore you have "BIOS boot"
>> partition for the second stage of Grub. If you have problems with
>> partitioning or other part of initial Debian installation I recommend to
>> ask OVH's support. In the past they had wizard where you can configure
>> partitions. ... and don't forget to configure IPv6, according to
>> statistics provided by Google, 1/3 of their users use IPv6.
>>
>> Kind regards
>> Georgi
>>
> 
> If you read the part of my message I've left you'll see that :
> 
> 1st, I'm using a OVH server but it's provided by one-provider, so the
> interface (aka Wizard) ain't the same.
> 
> 2nd, I am asking how to do something using command line interface. So
> don,t tell me "Hey dude, use a wizard".
> 
> 3rd, regarding contacting tech support. You really think it's OVH's job
> to explain to me how to install OS using network boot and a shell
> interface ? I doubt....
> 
> Just a little hint for life... If someone is telling you, I'm fucked
> using a CLI and they seem to have a basic knowledge of what they are
> doing. Then think twice and you'll get in your mind that they've already
> exhausted the easy one of using a click and poop solution like a wizard.
> 

Dear Polyna-Maude,

I'm very sorry if I have made you feel bad.

I have not used dedicated servers for years so excuse me for not being
familiar with OVH or whatever company you use for VPS or dedicated
servers. My point is that there should be something like configurator
(wizard, template or whatever) what has to help you to do initial
configuration of OS - partitions, RAID level, network configuration and
minimal OS installation, and - yes - if that is not Debian installer
then yes - you can ask technical support to provide information for the
tool they use.

Kind regards
Georgi

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web