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
Where fdisk has gone from Debian Buster installation?
Where fdisk has gone from Debian Buster installation?
For some reason there is no fdisk in /sbin or /usr/sbin while using debian 10 installation shell.
Is is a bug or somewhat?
Is is a bug or somewhat?
Re: Where fdisk has gone from Debian Buster installation?
Code: Select all
root@s:~# which fdisk
/usr/sbin/fdisk
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Where fdisk has gone from Debian Buster installation?
'which fdisk' must be run using sudo or su - as you can see below, when I run it as a normal user it returns nothing, this is because the command is not available to a normal user.
I seem to have it,.
But, ok, this is Debian SID (bullseye) but it was installed with debian 10 installer, and the upgraded:
This is more for a example, so the OP knows what output to show, and how...if indeed it is missing from the installer , then a bug report should be submitted. I did see when I searched some bug reports for this on Debian 9, but they said it was fixed, we are just debian users, and this should be reported to the developers, not much anyone here can do.
Also include exactly which instillation image you are using.
I seem to have it,.
Code: Select all
cuckoo@debian:~$ which fdisk
cuckoo@debian:~$
cuckoo@debian:~$ su -
Password:
root@debian:~# which fdisk
/usr/sbin/fdisk
root@debian:~# exit
Code: Select all
@debian:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bullseye/sid
Release: testing
Codename: bullseye
Also include exactly which instillation image you are using.
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: Where fdisk has gone from Debian Buster installation?
Yes, you must have administrator permissions to run 'fdisk'.
You don't need administrator permissions for 'which'.
Code: Select all
russel@DESKTOP-CK0E8I6:~$ fdisk -l
bash: fdisk: command not found
Code: Select all
russel@DESKTOP-CK0E8I6:~$ sudo fdisk -l
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: CT1000BX500SSD1
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: dos
Disk identifier: 0x02d520cf
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1187839 1185792 579M 7 HPFS/NTFS/exFAT
/dev/sda2 1187840 245762047 244574208 116.6G 7 HPFS/NTFS/exFAT
/dev/sda3 245764094 1953523711 1707759618 814.3G 5 Extended
/dev/sda5 245764096 284823551 39059456 18.6G 83 Linux
/dev/sda6 284825600 293025791 8200192 3.9G 82 Linux swap / Solaris
/dev/sda7 293027840 1848668159 1555640320 741.8G 83 Linux
/dev/sda8 1848670208 1953523711 104853504 50G 83 Linux
Code: Select all
russel@DESKTOP-CK0E8I6:~$ which which
/usr/bin/which
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Where fdisk has gone from Debian Buster installation?
Just tried running 'fdisk -l' using the Debian 10 netinstall image, and rescue mode, it does have fdisk, :
So we need to know which image specifically, but I suspect it is simply the OP is not doing something correctly.
So we need to know which image specifically, but I suspect it is simply the OP is not doing something correctly.
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!
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Where fdisk has gone from Debian Buster installation?
Please guys, pay attention.
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
This is about the fdisk-udeb installer component in the Debian installer context, not the fdisk command in an installed system context.qfu38 wrote:while using debian 10 installation shell
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
Re: Where fdisk has gone from Debian Buster installation?
Oops! I totally missed that. Thanks for pointing it out!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.qfu38 wrote:while using debian 10 installation shell
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Where fdisk has gone from Debian Buster installation?
Well, the OP is not clear on which version of the installer they are using, but also I am confused a little (nothing new, ) but, any way it does seem to be there, or is this not the same installer ?
=================================================
The above is using: https://cdimage.debian.org/debian-cd/cu ... etinst.iso
=================================================
The above is using: https://cdimage.debian.org/debian-cd/cu ... etinst.iso
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!
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Where fdisk has gone from Debian Buster installation?
Thanks, for clarifying
I was wondering about that,
Next, ahh, never mind, "advaced options"> "expert install", I see it now, and then the
Thanks P.H. That is interesting, I had never used or tried the "expert install", since I am not what I would consider a expert, so now I learned something new today.
Looks like the same shell:
So any way , fdisk is available, during the install.
I was wondering about that,
Ok, maybe it is a different installer , I don't see any option for "expert install",... mine does show "advanced options", Is that the same, or what you mean ?P.H.If you want to install it, you can either :
- start the installation with "expert install"
Next, ahh, never mind, "advaced options"> "expert install", I see it now, and then the
select "fdisk-udeb" in the "load installer components from CD" stage
Thanks P.H. That is interesting, I had never used or tried the "expert install", since I am not what I would consider a expert, so now I learned something new today.
Looks like the same shell:
So any way , fdisk is available, during the install.
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: Where fdisk has gone from Debian Buster installation?
anna-install fdisk-udeb works for me, thank you
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Where fdisk has gone from Debian Buster installation?
"Expert install" is not reserved to experts. It just asks extra questions. If you don't know what to answer, just leave the default answer. This is actually what the normal install does, without asking.cuckooflew wrote:I had never used or tried the "expert install", since I am not what I would consider a expert
Here are couple of other commands available in the installer shell which I find useful :
- apt-install <package> allows to install a normal package (not udeb) in the installed system.
- in-target [--pass-stdout] <command> allows to run a command in the installed system. Standard output and error are sent to the installer log (/var/log/syslog and tty4). The option --pass-stdout sends the standard output to the terminal (but not the standard error).
For instance they allow to install the GRUB boot loader with special parameters not supported by the installer.
Re: Where fdisk has gone from Debian Buster installation?
A slight typo, should be:p.H wrote: - apt-install <package> allows to install a normal package (not udeb) in the installed system.
Code: Select all
apt install
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Where fdisk has gone from Debian Buster installation?
Not a typo.
Please guys, pay attention again.
Please guys, pay attention again.
This is about the Debian installer environement, not the installed system environment. apt is not available in the installer.p.H wrote:Here are a couple of other commands available in the installer shell which I find useful