Lsblk: /dev/sda?: not a block device
-
Try undionly.kkpxe
[url]http://fogproject.org/wiki/index.php/Troubleshoot_TFTP#DHCP_Settings[/url]
-
so this was a disk that was not properly initialized and didn’t have an existing mbr or partition table?
-
Disk was formatted using protection card magic card extra IV ([url=“http://www.rogev.co.il/”]www.rogev.co.il/[/url][B]magic[/B]-[B]card[/B]/[B]extra[/B]-4/[B]Magic[/B] [B]Card[/B] [B]Extra[/B] IV.pdf) after uninstalling card partition table was destroyed .
I can ulpload backup of destroyed mbr / partition table -
If you’ve got an external drive bay, you can just use disk management in windows to delete/create a partition on it.
-
I can boot from fog / gparted.iso and create partition or fog debug fdisk /sfdisk but may be this case can be fixed automatically without my intervention
-
What makes you think that?
-
Error Message
[url=“/_imported_xf_attachments/1/1947_WP_20150430_001.jpg?:”]WP_20150430_001.jpg[/url]
-
Sure I “could” do it, but if you’re already aware you have a bad MBR, how am I supposed to detect it?
-
I choose open image of hdd with one partition ( Single Disk - Resizable) and option resize image to fill all space on hdd, fog must destroy all data on the disk and overwrite mbr ?
-
Correct, but this only works if the disk can be initialized in the first place.
Think about it in this regard.
I have to validate that your disk is readable/usable on initial boot.
if for some reason it cannot work with FOG (can’t initialize or whatnot which it tries if it can) and I clear the MBR, you suddenly have a system that may have worked (just not with FOG) inoperational.
-
You are right when we talk about full / quick inventory but when we talk about quick image I think maybe you can add some extra question (option) if problem with disk detected (format, wipe, clear partition table, disktest, etc ) ?
-
sgennadi,
I guess I don’t know how to explain this so you understand.
If I clear the drive, before the system has even had a chance to start up, there’s a high chance your systems would lose data.
This is the first time I’ve ever heard of a hard drive having a “bad” mbr that FOG couldn’t at least continue on. As it’s the first (and I’m sure it’s only been reported this first time), i’m not going to change it.
If you knew your hard drive had a bad mbr written to it before imaging, then why would you think fog was just going to fix this for you?
Again:
If I clear the MBR/HDD and it still can’t initialize the drive, there’s a huge potential for Data Loss. Once FOG knows it can use the drive safely, it will go through and clear the tables and present them back as the image needs it to. But during that initial start up I don’t think this is a good or safe option.
-
Tom,
I understand you very well and I said you right this is not bug , can I ask you future request? Can you do in fog menu something like quick image advanced where you script check computer compatibility if problem found not exit with error code, but give to the user option to fix problem (or try to fix problem automatically) and re-run check ? -
[SIZE=5][B][FONT=Trebuchet MS][FONT=Tahoma]lsblk: /dev/sda?: not a block device[/FONT]
[FONT=Tahoma]Error: Could not stat device mklabel -No such file or directory[/FONT][/FONT][/B][/SIZE]I get that message all the time with the current revision - images do not restore and it’s impossible to register a new host.
-
Does this only happen on specific devices?
I ask because I’ve been testing imaging since working on many different changes. I haven’t seen this pop up.
-
I got it on a Toshiba Satellite notebook: M305D-S4830, an older computer with a K8T Neo-V MSI mainboard and a VirtualBox virtual machine.
-
just tried it with a new hard drive (on the old MSI computer) and the update from a few minutes ago - same /dev/sda? error
-
please update and try again, does the error still occur?
-
This time after updating…
trying to register older MSI computer with new hard drive connected to SATA (configured as SATA and not RAID)
Error: could not stat device mklabel - No such file or directory
** An error has been detected **
Failed to initialize disk
** Computer will reboot in 1 minute **
-
when you say “new hard drive”, do you mean a blank one? Or just a “newer” one that has some partitions on it ?