On 14.12.2011 21:04, Neal Murphy wrote:
On Wednesday 14 December 2011 14:28:53 Oliver Friedrich wrote:
On 13.12.2011 21:12, Jordan Uggla wrote:
On Tue, Dec 13, 2011 at 10:18 AM, Oliver Friedrich<[email protected]>
wrote:
beowulf@seashell:~$ 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/
You worked with /dev/sdb, then tried to install grub to /dev/sdc? That
oughtn't work.
C&P mistake, i work on /dev/sdb currently
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub