We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360cd39 commit 720b4daCopy full SHA for 720b4da
1 file changed
initrd/etc/functions
@@ -1139,7 +1139,7 @@ detect_boot_device() {
1139
fi
1140
1141
# generate list of possible boot devices
1142
- fdisk -l | grep "Disk /dev/" | cut -f2 -d " " | cut -f1 -d ":" >/tmp/disklist
+ fdisk -l 2>/dev/null | grep "Disk /dev/" | cut -f2 -d " " | cut -f1 -d ":" >/tmp/disklist
1143
1144
# Check each possible boot device
1145
for i in $(cat /tmp/disklist); do
0 commit comments