SOLVED Grub error while booting from usb (installation)

Status
Not open for further replies.

NAS777

Dabbler
Joined
Feb 15, 2017
Messages
28
Hello, I am trying to boot freenas from a usb. I have tried 3 different usb (1 known working, 2 brand new) and get the same message.

I downloaded the iso and ran this command
Code:
sudo dd if=FreeNAS-11.1-U6.iso of=/dev/sda1 bs=64k


When I boot to USB this is what I get

Code:
Welcome to GRUB!

error: unknown filesystem.
Entering rescue mode ...
grub rescue>



Looking at the partition on my linux machine i show its formatted as a fat32 partition

Code:
$ sudo fdisk /dev/sda

Command (m for help): print 
Disk /dev/sda: 14.5 GiB, 15506341888 bytes, 30285824 sectors 
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: 0xf3c3f043 

Device	 Boot Start	  End  Sectors  Size Id Type 
/dev/sda1		8064 30285823 30277760 14.4G  c W95 FAT32 (LBA)


What am I doing wrong?

Thanks in advance!
 

NAS777

Dabbler
Joined
Feb 15, 2017
Messages
28
used windows/rufus to install the iso and it worked fine. thanks for playing
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
The original problem was that sda1 on Linux is the first partition on disk sda. The image must be written to the disk, not the first partition, so that should have been just sda.
 
Status
Not open for further replies.
Top