Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian 10, installation to pre-formatted SSD
Debian 10, installation to pre-formatted SSD
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.
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.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Debian 10, installation to pre-formatted SSD
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
https://www.debian.org/releases/stable/ ... all.pdf.en
deadbang
Re: Debian 10, installation to pre-formatted SSD
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.
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.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian 10, installation to pre-formatted SSD
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:I boot from live usb and start "Install Debian" icon.
Maybe you need to install lvm2 in the live session.tubus wrote:In terminal with root I can't find LVM utils at all.
LVM command line utilities are available in the Debian installer.
What are you calling "pseudo graphical installer" ?tubus wrote:One can use existing partitions, but ONLY from pseudo graphical installer chosen within boot options
Last time I tried it, LVM support in Ubuntu's installer looked like a bad joke.tubus wrote:Unpleasant experience.
Hope I like it after Ubuntu.
Re: Debian 10, installation to pre-formatted SSD
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: 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).
"May be" during installation is not an option. LVM command line utilities MUST be available. At least to check names and modify if necessary.p.H wrote: Maybe you need to install lvm2 in the live session.
LVM command line utilities are available in the Debian installer.
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
Because it doesn't have windows. It is not possible to open terminal and check disk or current lvm settingsp.H wrote:What are you calling "pseudo graphical installer" ?
It did not detect my touch pad and I had to use tab and it is awfully designed, disk management for example.
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.p.H wrote:Last time I tried it, LVM support in Ubuntu's installer looked like a bad joke.
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.
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 461 times
Re: Debian 10, installation to pre-formatted SSD
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.
Thank you for this gem of wisdom.It is nearly 2020.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian 10, installation to pre-formatted SSD
I never used Debian live nor the Calamarer installer, so I cannot tell.tubus wrote:"May be" during installation is not an option. LVM command line utilities MUST be available.
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.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
Re: Debian 10, installation to pre-formatted SSD
It was: debian-live-10.1.0-amd64-xfce.isosunrat 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.
Thank you
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 461 times
Re: Debian 10, installation to pre-formatted SSD
The Calamares installer in live is different from the full installer and has less options.tubus wrote:It was: debian-live-10.1.0-amd64-xfce.iso
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!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Debian 10, installation to pre-formatted SSD
Thank you for suggestionsunrat 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.
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.
Re: Debian 10, installation to pre-formatted SSD
No it isn't. Fdisk is not available in Debian 10 installationp.H wrote: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.tubus wrote:"May be" during installation is not an option. LVM command line utilities MUST be available.
Re: Debian 10, installation to pre-formatted SSD
Yes it is! [edit] 'fdisk' is available in a Debian 10 installation. (I am not referring to using the command line during the installation process.) I missed the difference between "available in Debian 10 Installation" and "available in a Debian Installation" My mistake! [/edit]qfu38 wrote:No it isn't. Fdisk is not available in Debian 10 installationp.H wrote: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.tubus wrote:"May be" during installation is not an option. LVM command line utilities MUST be available.
Code: Select all
russel@brtv:~$ cat /etc/debian_version
10.4
russel@brtv:~$ sudo fdisk -l
[sudo] password for russel:
Disk /dev/sdb: 29.5 GiB, 31675383808 bytes, 61865984 sectors
Disk model: MT-32
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9F93DBB0-4D58-4EF4-9553-66CF1A985665
Device Start End Sectors Size Type
/dev/sdb1 2048 1050623 1048576 512M EFI System
/dev/sdb2 1050624 44019711 42969088 20.5G Linux filesystem
/dev/sdb3 44019712 61863935 17844224 8.5G Linux swap
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 850
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 09329014-5834-4A65-8672-AC14AF74394B
Device Start End Sectors Size Type
/dev/sda1 2048 1953523711 1953521664 931.5G Linux filesystem
Last edited by RU55EL on 2020-06-29 19:44, edited 1 time in total.
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Debian 10, installation to pre-formatted SSD
Show some actual out put to prove this, if the command is not correctly typed it will say "not found", or something, ...As you can see, RU55EL shows it is available.No it isn't. Fdisk is not available in Debian 10 installation
You should show us exactly how you are trying to run fdisk, exactly how you type the command ?
Please use code boxes. Also show the output of
Code: Select all
which fdisk
Code: Select all
$ which fdisk
/sbin/fdisk
parrot$
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Re: Debian 10, installation to pre-formatted SSD
'fdisk' requires administrator permissions.
So, on my Debian system:
Returns nothing, I just get the prompt back.
But, if I use sudo:
So, It would be better to say:
or
So, on my Debian system:
Code: Select all
russel@DESKTOP-CK0E8I6:~$ which fdisk
But, if I use sudo:
Code: Select all
russel@DESKTOP-CK0E8I6:~$ sudo which fdisk
/usr/sbin/fdisk
Code: Select all
russel@DESKTOP-CK0E8I6:~$ su -
Password:
root@DESKTOP-CK0E8I6:~# which fdisk
/usr/sbin/fdisk
Code: Select all
# which fdisk
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian 10, installation to pre-formatted SSD
Please guys, pay attention. This is about the fdisk-udeb installer component in the Debian installer context, not the fdisk command in an installed system context.
The fdisk-udeb installer component which provides fdisk in the Debian installer is still available. However I noticed that it is not installed by default any more in the 10.4 installer. If you want to install it, you can either :
- start the installation with "expert install" in the boot menu and select "fdisk-udeb" in the "load installer components from CD" stage.
- go back to the installer main menu at any time, select "change debconf priority" and lower the priority to "medium" or "low", then go back to the main menu, select "load installer components from CD" and select "fdisk-udeb".
- drop to a shell and run
Yes and no.qfu38 wrote:Fdisk is not available in Debian 10 installation
The fdisk-udeb installer component which provides fdisk in the Debian installer is still available. However I noticed that it is not installed by default any more in the 10.4 installer. If you want to install it, you can either :
- start the installation with "expert install" in the boot menu and select "fdisk-udeb" in the "load installer components from CD" stage.
- go back to the installer main menu at any time, select "change debconf priority" and lower the priority to "medium" or "low", then go back to the main menu, select "load installer components from CD" and select "fdisk-udeb".
- drop to a shell and run
Code: Select all
anna-install fdisk-udeb
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Debian 10, installation to pre-formatted SSD
If you can do better, you would be welcome to pitch in and volunteer to help with making those images, you know, help out a little with the "free meal" so to speak.by tubus »http://forums.debian.net/posting.php?mo ... 7#pr709636>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.
Also , did you look at the link provided by H_O_A_S ?
I see where it shows about lvm, and it looks simple.
LVM setup in debian-installer is quite simple and completely supported inside partman. First,you have to mark the partition(s) to be used as physical volumes for LVM. This is done in the Partition settings menu where you should select Use as:! physical volume for LVM.
Head_on_a_Stick wrote: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
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Re: Debian 10, installation to pre-formatted SSD
No it isn't. I can provide you a screenshot but i cannot attach it (forum says `Sorry, the board attachment quota has been reached.`, despite of i'm not uploaded anything yet).RU55EL wrote: Yes it is! [edit] 'fdisk' is available in a Debian 10 installation. (I am not referring to using the command line during the installation process.) I missed the difference between "available in Debian 10 Installation" and "available in a Debian Installation" My mistake! [/edit]
Steps to reproduce it:
Boot from Debian 10 installation media (no matter it is complete DVD or netinstall/minimal)
Launch console by pressing Alt-F2 or so
Type 'fdisk' (without quotes, of course)
BTW, there is no alternative avalable such as parted, gparted and so.
And there is no any point in documentation/changelog about this.
Re: Debian 10, installation to pre-formatted SSD
Wow, it works. Great, thank you. I have added this to 'd-i preseed/early_command string' in my preseed file.p.H wrote:Please guys, pay attention. This is about the fdisk-udeb installer component in the Debian installer context, not the fdisk command in an installed system context.
- drop to a shell and runCode: Select all
anna-install fdisk-udeb
It works.