We should note that the standard commands and ideas how to do this with GRUB for new GRUB2 not be apply. For example, there is no menu.lst stage1 stage2, etc.
During installation, also was not able to install a floppy GRUB2 and it istall the partition with the root directory, actually tried but did not get the first with new ubuntu and then with the Mint, total under the new distrota is new loader GRUB2
Here is part of attempts to install the floppy first in the good old way:
Code: Select all
user@mint:~/Desktop$ sudo grub-install /dev/fd0
/usr/sbin/grub-setup: warn: This msdos-style partition label has no post-MBR gap; embedding won't be possible!.
/usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install.
/usr/sbin/grub-setup: warn: This msdos-style partition label has no post-MBR gap; embedding won't be possible!.
/usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install.
Then I tried with some new commands specifically for GRUB2
Code: Select all
mint user # grub-mkdevicemap
mint user # sudo grub-install --force --root-directory=/media/floppy /dev/fd0
[bg=yellow]/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk. This is a BAD idea..
/usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install.[/bg]
mint user # sudo grub-mkconfig -o /media/floppy/boot/grub/grub.cfg
Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found Windows 7 (loader) on /dev/sda1
done
mint user #
"/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk. This is a BAD idea..
/usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install."
Then I tried in another way according to:
http://www.gnu.org/software/grub/manual ... 02dinstall
Code: Select all
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt fd0
# umount /mnt
Code: Select all
user@mint:~$ sudo mount -t ext2 /dev/fd0 /mnt
[sudo] password for ivan:
user@mint:~$ sudo grub-install --root-directory=/mnt fd0
/usr/sbin/grub-probe: error: cannot stat `fd0'.
user@mint:~$
/usr/sbin/grub-probe: error: cannot stat `fd0'.
another tutorial had the following proposal at:
http://wiki.linuxquestions.org/wiki/Boot_Floppy
Creating a GRUB boot floppy
Insert a writable floppy
Go to a terminal
su to root
#fdformat /dev/fd0 (change /dev/fd0 if your floppy drive isn't at that location)
#mke2fs /dev/fd0
Now mount your floppy drive somewhere (e.g. to /mnt/floppy with #mount -t ext2 /dev/fd0 /mnt/floppy)
#grub-install --root-directory=/mnt/floppy '(fd0)'
Now create a valid grub.conf file at /mnt/floppy/boot/grub/grub.conf
Unmount floppy (e.g. #umount /mnt/floppy)
tried this suggestion
Code: Select all
user@mint # mount -t ext2 /dev/fd0 /mnt/floppy
user@mint # grub-install --root-directory=/mnt/floppy '(fd0)'
/usr/sbin/grub-setup: error: no such disk.
As I complete deadlock. Currently you run Linux with a universal program to a floppy boot which can start all: http://gujin.sourceforge.net/. Incidentally, a very useful program recommend it to anyone dealing with Linux.
My device.map
(fd0) /dev/fd0
(hd0) /dev/disk/by-id/ata-ExcelStor_Technology_J880_PFD200K203L27A
(hd1) /dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ10A183047
(hd2) /dev/disk/by-id/ata-Maxtor_6E030L0_E163MGQE
Code: Select all
user@mint :~$ sudo fdisk -l
Disk /dev/sda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdf56df56
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3421 27479151 7 HPFS/NTFS
/dev/sda2 3422 10011 52934175 5 Extended
/dev/sda5 3422 6731 26587543+ 7 HPFS/NTFS
/dev/sda6 6732 10011 26346568+ 7 HPFS/NTFS
Disk /dev/sdc: 30.8 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3e6da995
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 1657 13309821 7 HPFS/NTFS
/dev/sdc2 1658 3738 16715602 f W95 Ext'd (LBA)
/dev/sdc5 1658 1803 1172713+ 82 Linux swap / Solaris
/dev/sdc6 1804 2718 7349706 83 Linux
/dev/sdc7 2719 3738 8193118+ 83 Linux
Disk /dev/sdb: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3b883b87
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5604 45014098+ 7 HPFS/NTFS
/dev/sdb2 5605 9733 33166192+ c W95 FAT32 (LBA)
Disk /dev/sdd: 2063 MB, 2063597568 bytes
16 heads, 32 sectors/track, 7872 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5b150ca9