After years of running 15.2 (and prior to that 15 and others), and because I had dvds with 15.3 and 15.4, I recently ‘upgraded’ to 15.4 via 15.3. It’s an ancient Toshiba Satellite C660 that was handed down to me with Windows 7. Windows still boots ok.
I cannot boot 15.4 without a particular usb drive being inserted - otherwise grub emergency. Perhaps some kind person can tell me how to get rid of this requirement?
I used to use this usb drive (and still might) as an occasional samba ‘scratch pad’ in my wifi router. Why 15.4 should think that this device needs to be mounted before it can boot makes no sense to me.
I have another question about how 15.4 treats usbs, but one thing at a time.
Whatever skills I may have,they appear to lie somewhere other than linux.
I’m also off-grid - which means my online presence may be partly weather dependent.
Thank you all.
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.24.88-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3 CPU M 370 @ 2.40GHz
Memory: 5.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics
localhost:~ # fdisk -l /dev/sda
Disk /dev/sda: 596.17 GiB, 640135028736 bytes, 1250263728 sectors
Disk model: TOSHIBA MK6475GS
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: 0x56e67e82
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 821247 819200 400M 27 Hidden NTFS WinRE
/dev/sda2 821248 339798015 338976768 161.6G 7 HPFS/NTFS/exFAT
/dev/sda3 339798016 1250263039 910465024 434.1G f W95 Ext’d (LBA)
/dev/sda5 339800064 352401407 12601344 6G 82 Linux swap / Solaris
/dev/sda6 436291584 1250263039 813971456 388.1G 83 Linux
localhost:~ # fdisk -l /dev/sdc
Disk /dev/sdc: 7.46 GiB, 8011120640 bytes, 15646720 sectors
Disk model: USB DISK 2.0
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: 0xc3072e18
Device Boot Start End Sectors Size Id Type
/dev/sdc1 8064 15646719 15638656 7.5G c W95 FAT32 (LBA)
Show us content of /etc/fstab and input/output from lsblk -f while that USB stick is attached.
Please always provide input/output complete, and contain it within formatting tags that preserve the original formatting in plain monospace text. ~~~ on prior and subsequent lines can do this. Alternatively, using the PRE icon </> above the input window can do the same thing.
You had that USB installed when grub and mkinitrd were ran and it is now in the grub boot code. I had this when I installed from a USB drive. This is how I fixed mine.
Also mkintrd is depreciated and probably is not there anymore - the powers that be removed it.
The cure is to boot up remove the USB drive and make it rebuild the boot code as root or use sudu:
grub2-install /dev/sda (or what ever is the root drive)
and
dracut --regenerate-all --force (the mkinitrd replacement command)
@mrmazda Thank you for your note about formatting. I was unaware: my apologies.
@larryr I commented out the offending usb stick entry in fstab and re-booted from scratch. That all worked.Thank you. Was there anything else I should do - along the lines of your first reply?
I might just add the following :- That usb did used to have a bootable operating system, but it failed to boot in the distant past and I had concluded that the data had become corrupted or otherwise unusable. Before discarding it, I thought I would reformat it just to see whether it was still usable. It was, and, as mentioned, it found a slot in my wifi hub. Prior to presenting my problem to the forum, I made various attempts to solve it myself. In the course of that, I found that the stick had the boot flag set. I toggled that off. I cannot imagine why, in the course of upgrading from 15.2 through 15.3 to 15.4, I would have had that plugged into the laptop. Is it conceivable that during these upgrades that the system saw a bootable device on the router? Or does this stray too far into the realms of fantasy?
Again, as mentioned earlier, I had another problem with the way 15.4 was treating another usb device. I expect you'll correct me if this is the wrong thread to elaborate.
I plug the device in:-
Password:
localhost:~ # lsblk -f /dev/sdc
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sdc
├─sdc1 vfat FAT32 KNOPPIX DB23-5750 403.1M 92% /run/media/bcsl/KNOPPIX
└─sdc2 reiserfs JR KNOPPIX-DATA 0be07d78-3fb4-4fef-9bab-cd6e7ae94bbf
localhost:~ #
localhost:~ # parted /dev/sdc print
Model: SanDisk Extreme SSD (scsi)
Disk /dev/sdc: 250GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 5106MB 5104MB primary fat32 boot, lba, type=0c
2 5106MB 250GB 245GB primary reiserfs type=83
localhost:~ #
With 15.2 I was able to mount (open with dolphin) KNOPPIX-DATA and use rsync to copy data from the laptop. I cannot mount this partition under 15.4.
If I boot the device everything looks normal What has changed?