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

 

 

 

[Solved] /dev/sda does not exist when doing TFTP install

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
rwaba
Posts: 8
Joined: 2021-02-03 16:29
Has thanked: 3 times

[Solved] /dev/sda does not exist when doing TFTP install

#1 Post by rwaba »

I am doing a TFTP install using presseding. I get this error
no root file system.png
Looking at the syslog it looks like partman cannot find /dev/sda.
I looked in /dev and sda does not exist.
Does anyone have any ideas why the installer is not detecting /dev/sda?

Thanks
Last edited by rwaba on 2023-06-01 19:23, edited 1 time in total.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: /dev/sda does not exist when doing TFTP install

#2 Post by Aki »

Hello,
What's the output of the following command from the console (ALT-F2):

Code: Select all

cat /proc/partitions
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

rwaba
Posts: 8
Joined: 2021-02-03 16:29
Has thanked: 3 times

Re: /dev/sda does not exist when doing TFTP install

#3 Post by rwaba »

Hi Aki
the output is empty

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: /dev/sda does not exist when doing TFTP install

#4 Post by Aki »

Hello,
rwaba wrote: 2023-05-31 13:45 Hi Aki the output is empty
Then I suppose that the kernel (what version ?) does not recognize any disk device.
What type of disk device (HDD, SDD, NVME) on what type of connection (IDE ? EIDE ? SATA ? Other ?) your computer is equipped with ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Random_Troll
Posts: 444
Joined: 2023-02-07 13:35
Been thanked: 105 times

Re: /dev/sda does not exist when doing TFTP install

#5 Post by Random_Troll »

Check the firmware ("BIOS") settings for the drive. You probably need to enable AHCI mode. For example: https://bbs.archlinux.org/viewtopic.php?id=245335.
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

rwaba
Posts: 8
Joined: 2021-02-03 16:29
Has thanked: 3 times

Re: /dev/sda does not exist when doing TFTP install

#6 Post by rwaba »

Random_troll
looks like the drive is in AHCI mode.
Aki
The kernel version of the debian netboot installer is 4.19.0-14. When I install with a DVD using the DVD debian installer, it has the kernel revision.
There is no issue with the install. The drive connection look's like SATA.
These are some of the messages I see in syslog

Code: Select all

May 31 13:34:00 debconf: --> SET partman-auto/disk /dev/sda
May 31 13:34:00 debconf: <-- 10 partman-auto/disk doesn't exist
May 31 13:34:00 debconf: --> REGISTER debian-installer/dummy partman-auto/disk
May 31 13:34:00 debconf: <-- 0
May 31 13:34:00 debconf: --> SET partman-auto/disk /dev/sda
May 31 13:34:00 debconf: <-- 0 value set
May 31 13:34:00 debconf: --> SUBST partman-auto/disk ID partman-auto/disk
May 31 13:34:00 debconf: Adding [ID] -> [partman-auto/disk]
May 31 13:34:00 debconf: <-- 0
May 31 13:34:00 debconf: --> FSET partman-auto/disk seen true
May 31 13:34:00 debconf: <-- 0 true
These are the last messages I see in syslog

Code: Select all

May 31 13:34:53 debconf: --> SUBST partman/choose_partition CHOICES 40iscsi__________iscsi, 55divider_up__________divider, 80undo__________undo, 90finish__________finish
May 31 13:34:53 debconf: Adding [CHOICES] -> [40iscsi__________iscsi, 55divider_up__________divider, 80undo__________undo, 90finish__________finish]
May 31 13:34:53 debconf: <-- 0
May 31 13:34:53 debconf: --> SUBST partman/choose_partition DESCRIPTIONS Configure iSCSI volumes, , Undo changes to partitions, Finish partitioning and write changes to disk
May 31 13:34:53 debconf: Adding [DESCRIPTIONS] -> [Configure iSCSI volumes, , Undo changes to partitions, Finish partitioning and write changes to disk]
May 31 13:34:53 debconf: <-- 0
May 31 13:34:53 debconf: --> INPUT critical partman/choose_partition
May 31 13:34:53 debconf: <-- 30 question skipped
May 31 13:34:53 debconf: --> GO
May 31 13:34:53 debconf: <-- 0 ok
May 31 13:34:53 debconf: --> GET partman/choose_partition
May 31 13:34:53 debconf: <-- 0 90finish__________finish
May 31 13:34:53 debconf: --> GET debian-installer/locale
May 31 13:34:53 debconf: <-- 0 en_US.UTF-8
May 31 13:34:53 debconf: --> CAPB align
May 31 13:34:53 debconf: <-- 0 multiselect backup progresscancel align escape plugin-terminal
May 31 13:34:53 debconf: --> INPUT critical partman-target/no_root
May 31 13:34:53 debconf: <-- 0 question will be asked
May 31 13:34:53 debconf: --> GO

Random_Troll
Posts: 444
Joined: 2023-02-07 13:35
Been thanked: 105 times

Re: /dev/sda does not exist when doing TFTP install

#7 Post by Random_Troll »

Does the bookworm RC3 installler "see" the drive?
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: /dev/sda does not exist when doing TFTP install

#8 Post by Aki »

Hello,
rwaba wrote: 2023-05-31 21:32 These are some of the messages I see in syslog [..]
Can you send the full syslog as compressed file (e.g. zip) attached to a follow-up message ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

rwaba
Posts: 8
Joined: 2021-02-03 16:29
Has thanked: 3 times

Re: /dev/sda does not exist when doing TFTP install

#9 Post by rwaba »

I have attached the syslog
syslog.zip
(39.72 KiB) Downloaded 5 times

rwaba
Posts: 8
Joined: 2021-02-03 16:29
Has thanked: 3 times

Re: /dev/sda does not exist when doing TFTP install

#10 Post by rwaba »

Hi Aki and Random_troll
The initrd for the netboot image does not contain any ide or sata drivers and for some reason is not able to find them on my setup.
I found some directions on adding them to initrd here.
viewtopic.php?f=17&p=357078#p357078
Posted by Post by maynim » Mar 5th, '11, 16:48

Now I am off to the next adventure. :D

Thanks

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: /dev/sda does not exist when doing TFTP install

#11 Post by Aki »

Hello,
rwaba wrote: 2023-06-01 19:22 Hi Aki and Random_troll
The initrd for the netboot image does not contain any ide or sata drivers and for some reason is not able to find them on my setup.
I found some directions on adding them to initrd here.
viewtopic.php?f=17&p=357078#p357078
Posted by Post by maynim » Mar 5th, '11, 16:48
Now I am off to the next adventure. :D
Thanks
Happy you sorted it out. :-)
Happy Debian and happy hacking
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply