綾小路龍之介の素人思考

[linux] super grub2 diskをfdで利用する

grub2は容量不足のためそのままではfdにinstall出来なかったと思う。loopback機能が使いたかったので、super grub2 diskというソフトを使ってみる。

1.99をダウンロードしたつもりが、ディスク容量不足といわれる。

# wget 'http://forja.cenatic.es/frs/download.php/1384/super_grub2_disk_hybrid_1.99b1.iso'
--2012-07-03 08:47:27--  http://forja.cenatic.es/frs/download.php/1384/super_grub2_disk_hybrid_1.99b1.iso
Resolving forja.cenatic.es... 195.235.93.115
Connecting to forja.cenatic.es|195.235.93.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2023424 (1.9M) [application/binary]
Saving to: “super_grub2_disk_hybrid_1.99b1.iso”

100%[========================================================>] 2,023,424    414K/s   in 4.8s

2012-07-03 08:47:34 (414 KB/s) - “super_grub2_disk_hybrid_1.99b1.iso” saved [2023424/2023424]

# mv super_grub2_disk_hybrid_1.99b1.iso super_grub2_disk_hybrid_1.99b1.img
# dd if=super_grub2_disk_hybrid_1.99b1.img of=/dev/fd0
dd: writing to `/dev/fd0': No space left on device
2881+0 records in
2880+0 records out
1474560 bytes (1.5 MB) copied, 118.545 s, 12.4 kB/s

1.98だと成功。取り合えずはloopback機能が使えるのでこれでおk。ハイブリッドisoなので、そのままddすれば書き込めるはず。些細な注意点はisoをダウンロードして、拡張子をimgに変えておくこと。

# wget 'http://forja.cenatic.es/frs/download.php/1381/super_grub_disk_hybrid-1.98s1.iso'
--2012-07-03 09:11:29--  http://forja.cenatic.es/frs/download.php/1381/super_grub_disk_hybrid-1.98s1.iso
Resolving forja.cenatic.es... 195.235.93.115
Connecting to forja.cenatic.es|195.235.93.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1443840 (1.4M) [application/binary]
Saving to: “super_grub_disk_hybrid-1.98s1.iso”

100%[========================================================>] 1,443,840    297K/s   in 4.7s

2012-07-03 09:11:36 (297 KB/s) - “super_grub_disk_hybrid-1.98s1.iso” saved [1443840/1443840]

# mv super_grub_disk_hybrid-1.98s1.iso super_grub_disk_hybrid-1.98s1.img
# dd if=super_grub_disk_hybrid-1.98s1.img of=/dev/fd0
2820+0 records in
2820+0 records out
1443840 bytes (1.4 MB) copied, 118.075 s, 12.2 kB/s

リファレンス

  1. Super Grub2 Disk
  2. Man page of DD
  3. SGD Howto make - Super Grub Disk Wiki
  4. Super Grub2 Disk - Super Grub Disk

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2010-06-10T09:32:14+09:00
  2. Modified: 2010-06-10T09:32:14+09:00
  3. Generated: 2017-05-14T23:09:18+09:00