On 13.12.2011 21:12, Jordan Uggla wrote:
On Tue, Dec 13, 2011 at 10:18 AM, Oliver Friedrich <address@hidden> wrote:
address@hidden:~$ sudo LANG=C parted -l
Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sdb: 32.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 32.1GB 32.1GB primary fat32
>From that, it doesn't look like you have multiple partition tables,
but you may have stale fat signatures (from previously putting a fat32
filesystem on the whole device, without any partition table) which
grub-install is seeing. When grub-install sees what looks like both a
partition table and a filesystem it can't be sure that it's safe to
embed grub. There is probably a subtler and less destructive way to
remove just the fat signatures, but if you don't mind losing the data
currently on the drive then running "dd if=/dev/zero of=/dev/sdb bs=1M
count=1" will zero the first MiB of the drive, *destroying the current
partition table and making all files on the drive currently
inaccessible*. After zeroing the first MiB of the drive you should be
able to partition it again and install grub without any problem.
Did follow your proposal with:
dd if=/dev/zero of=/dev/sdb bs=1M
count=1
and then made the filesystem directly on the device with:
mkfs.msdos -I -F 32 -n BeowulfOF /dev/sdb
Anyway, the error message is still the same if I try to install grub
with:
grub-install --force --no-floppy --boot-directory=/media/BeowulfOF/boot /dev/sdc
I'm sorry, I can only provide the german error-message:
/usr/sbin/grub-probe: Fehler: cannot stat `/dev/sdc'.
address@hidden:/media/Unencrypted/stick# grub-install --force --no-floppy --boot-directory=/media/BeowulfOF/boot /dev/sdb
/usr/sbin/grub-setup: Warnung: Es wird versucht, GRUB auf einer nicht partitionierten Platte oder in eine Partition zu installieren. Das ist eine SCHLECHTE Idee..
/usr/sbin/grub-setup: Warnung: Einbettung ist nicht möglich. GRUB kann in dieser Konfiguration nur mittels Blocklisten installiert werden. Blocklisten sind allerdings UNZUVERLÄSSIG und deren Verwendung wird daher nicht empfohlen..