Debian 10, installation to pre-formatted SSD

Help with issues regarding installation of Debian

Debian 10, installation to pre-formatted SSD

Postby tubus » 2019-10-19 14:54

Hello

I have SSD, which I formatted myself.
It has 2 partitions: /boot on first and 3 LV on the second partition
It is good and I can see all of LVMs from master host.

Question:
How to install Debian 10 into this pre-formatted disk.

What I tried - I boot from live usb and start "Install Debian" icon.
The process sees my SSD and even PV, but it doesn't see my VG, nor it doesn't create one
It doesn't even have button "create LV"
In terminal with root I can't find LVM utils at all.

Thank you.
tubus
 
Posts: 5
Joined: 2019-10-19 14:44

Re: Debian 10, installation to pre-formatted SSD

Postby Head_on_a_Stick » 2019-10-19 14:58

I don't use LVM myself but the installation guide has a bit that may help (section 6.4.3.5):

https://www.debian.org/releases/stable/ ... all.pdf.en
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10599
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10, installation to pre-formatted SSD

Postby tubus » 2019-10-19 16:08

One can use existing partitions, but ONLY from pseudo graphical installer chosen within boot options

It is not possible to do by installer in Debian.
There is not LVM tools in console. So it is not possible to manually change anything.
Unpleasant experience.

Hope I like it after Ubuntu.
tubus
 
Posts: 5
Joined: 2019-10-19 14:44

Re: Debian 10, installation to pre-formatted SSD

Postby p.H » 2019-10-20 08:16

tubus wrote:I boot from live usb and start "Install Debian" icon.

This must be the new Calamares installer available in Debian 10 live systems, not the Debian installer. From what I read, it is intended mainly for simple setups. For more advanced setups use the real Debian installer instead, it can re-use existing LVM groups and volumes and RAID arrays (but not existing LUKS encrypted volumes).

tubus wrote:In terminal with root I can't find LVM utils at all.

Maybe you need to install lvm2 in the live session.
LVM command line utilities are available in the Debian installer.

tubus wrote:One can use existing partitions, but ONLY from pseudo graphical installer chosen within boot options

What are you calling "pseudo graphical installer" ?

tubus wrote:Unpleasant experience.
Hope I like it after Ubuntu.

Last time I tried it, LVM support in Ubuntu's installer looked like a bad joke.
p.H
 
Posts: 1151
Joined: 2017-09-17 07:12

Re: Debian 10, installation to pre-formatted SSD

Postby tubus » 2019-10-21 00:52

p.H wrote:This must be the new Calamares installer available in Debian 10 live systems, not the Debian installer. From what I read, it is intended mainly for simple setups. For more advanced setups use the real Debian installer instead, it can re-use existing LVM groups and volumes and RAID arrays (but not existing LUKS encrypted volumes).


I do not know what is the name of it, but developers have implemented PV detection and "button" to create VG, which doens't create anything, but it does exist.

p.H wrote:Maybe you need to install lvm2 in the live session.
LVM command line utilities are available in the Debian installer.


"May be" during installation is not an option. LVM command line utilities MUST be available. At least to check names and modify if necessary.
Because to create LVM one needs to type less then 10 commands. It is much easy then to click and guess what is where in "pseudo graphical installer", which ask to write LVM formatting to the disk first and then change it. I do not understand it at all. No need to write anything - all it needs to do is to provide summary of PV, VG and LV - and ask user to confirm

p.H wrote:What are you calling "pseudo graphical installer" ?

Because it doesn't have windows. It is not possible to open terminal and check disk or current lvm settings
It did not detect my touch pad and I had to use tab and it is awfully designed, disk management for example.

p.H wrote:Last time I tried it, LVM support in Ubuntu's installer looked like a bad joke.

I agree with you here. But ubuntu installer has option to use existing partitions and it shows all of them to user and ask if one wants to format them or not. One can even change something in them.
I never allowed installer to do partitioning for me, it is much easy to do manually. But installer must detect and provide option to use existing in regular Linux desktop window system, where one can resize or check something in internet or in console.
It is nearly 2020.
tubus
 
Posts: 5
Joined: 2019-10-19 14:44

Re: Debian 10, installation to pre-formatted SSD

Postby sunrat » 2019-10-21 05:17

Exactly what is the name of the image file you used to create your install medium? So far your descriptions are a bit vague. "Pseudo graphical installer" is not a term used by Debian, you could even call CLI installer that.

It is nearly 2020.

Thank you for this gem of wisdom. :mrgreen:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2868
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Debian 10, installation to pre-formatted SSD

Postby p.H » 2019-10-21 09:13

tubus wrote:"May be" during installation is not an option. LVM command line utilities MUST be available.

I never used Debian live nor the Calamarer installer, so I cannot tell.

tubus wrote:Because it doesn't have windows. It is not possible to open terminal and check disk or current lvm settings
It did not detect my touch pad

I asked "what", not "why". Is it the non-graphical (curses) installer ? It has no support for pointing devices such as mice and touch pads. Actually I find it more convenient than the graphical installer. It is possible to open a shell in a terminal with Alt+F2 or Alt+F3 and use fdisk or lvm commands. And it allows to use existing partitions.
p.H
 
Posts: 1151
Joined: 2017-09-17 07:12

Re: Debian 10, installation to pre-formatted SSD

Postby tubus » 2019-10-22 15:47

sunrat wrote:Exactly what is the name of the image file you used to create your install medium? So far your descriptions are a bit vague. "Pseudo graphical installer" is not a term used by Debian, you could even call CLI installer that.


It was: debian-live-10.1.0-amd64-xfce.iso


Thank you
tubus
 
Posts: 5
Joined: 2019-10-19 14:44

Re: Debian 10, installation to pre-formatted SSD

Postby sunrat » 2019-10-22 23:23

tubus wrote:It was: debian-live-10.1.0-amd64-xfce.iso


The Calamares installer in live is different from the full installer and has less options.
Try the full install image DVD1 from here - https://cdimage.debian.org/cdimage/rele ... 4/iso-dvd/
There is also a link on that page to downloads of non-free images which contain firmware for some hardware that needs it. It's often easier to use that rather than trying to find firmware after installing.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2868
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Debian 10, installation to pre-formatted SSD

Postby tubus » 2019-10-23 01:25

sunrat wrote:The Calamares installer in live is different from the full installer and has less options.
Try the full install image DVD1 from here - https://cdimage.debian.org/cdimage/rele ... 4/iso-dvd/
There is also a link on that page to downloads of non-free images which contain firmware for some hardware that needs it. It's often easier to use that rather than trying to find firmware after installing.


Thank you for suggestion
I will test the first one.
I need something that can be used as "rescue bootable" image.

But still - LVM tools is not that big, why not to include them in any live images, like KDE or XFCE or ...
If one use them to install, it also can be used to repair something
But they do not even have such handy tools like gparted or lvm - that is strange.
Someone really has not thought long enough when made those images.
That is question of convenience and respect to users who's chosen Debian.

Thank you.
tubus
 
Posts: 5
Joined: 2019-10-19 14:44


Return to Installation

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable