GRUBの設定について(Eee PC 4G-Xの巻)

パピーリナックスを初めて使う方もご利用ください

モデレータ: 暇人, YoN, nyu

返信する
sono2pp
記事: 7
登録日時: 08/09/15(月) 02:25

GRUBの設定について(Eee PC 4G-Xの巻)

投稿記事 by sono2pp »

マシン起動時にESCキー連打以外に「Grub」なる仕掛けがあることを発見し、
「メニュー」→「システム」→「Grubブートローダーの設定」から実行して、
「simple」→「standard」と選択しました。
「Grubをどこに置きたいですか?」の画面でテキストボックスにパスを
入力するところでつまずいています。

パーティーションは下記のとおりです。
どれを選択しても、「no linux」と表示され、それ以降進めません。
どなたかご教授願います。

---
# fdisk -l

Disk /dev/hdc: 4001 MB, 4001292288 bytes
255 heads, 63 sectors/track, 486 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 3 24066 ef EFI (FAT-12/16/32)
/dev/hdc2 * 4 486 3879697+ 7 HPFS/NTFS

Disk /dev/sda: 4024 MB, 4024958976 bytes
255 heads, 63 sectors/track, 489 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 461 3702951 b W95 FAT32
/dev/sda2 462 489 224910 5 Extended
/dev/sda5 4
---
<環境>
Eee PC 4G-X+「puppy-4.00.4-JP.iso」
・(内蔵SSD:4GB=WinXP)
・(SDHC(付属4GB)=puppy)
アバター
ymp
記事: 35
登録日時: 08/11/25(火) 12:53
お住まい: Auckland, New Zealand
連絡する:

私も

投稿記事 by ymp »

私も同じところでコケます。
システム→GRUBブートローダの設定→simple→standard→grubをどこに置きたいですか?[/hoge] とすると
____________________________
|Grubconfig: ERROR______|_|□|x|
|--------------------------------------
|The partition '/hoge' is not Linux.|
|__________[ OK]____________|

こんなダイアログが表示されます。/hogeをいろいろ変えてみてもうまくいきません。

ハードディスクフォーマットは全面的にext3です。
どなたかご教授いただけないでしょうか?
puppy412 FRUGAL
TOSHIBA dynabook C7/212CMEN
日本に置いてきた
puppy412 FULL
TOSHIBA dynabook SS 3440
電圧の関係で故障
trying to use puppy 420 from usb
ASUS EeePC 900HA
アバター
ymp
記事: 35
登録日時: 08/11/25(火) 12:53
お住まい: Auckland, New Zealand
連絡する:

自己解決

投稿記事 by ymp »

私の方は自己解決できました。
sono2ppさんと同じ症例のようなので、参考までに解決策を書いておきます。
うろ覚えですが...
初心者ですから間違っているかもしれません。その場合は修正をおねがいします。。

(1. ユンバーサルインストーラでハードディスクにPuppyをインストール。必ずアンマウントする。)
2. 「メニュー」→「システム」→「Grubブートローダーの設定」から実行して、
「simple」→「standard」と選択する。
3. 「Grubをどこに置きたいですか?」の画面でテキストボックスに

コード: 全て選択

/dev/hda1
と入力。(hda1の箇所は適当に読みかえて下さい。私の場合はこれでできました。)

すると、メッセージが表示され、menu.lstを編集しろ。と指示されます。そこで、
4. /mnt/home/boot/grub/menu.lstに下の行を追加する。

コード: 全て選択

title Puppy Linux 400 frugal
rootnoverify (hd0,0)
kernel /puppy400/vmlinuz pmedia=idehd psubdir=puppy400
initrd /puppy400/initrd.gz
5. そして再起動

これでなんか起動できちゃいました。

さきほどできなかった原因は、ハードディスクをアンマウントできなかったからのようです。pup_save-hoge.2fsがあるとマウントできないみたいです。(使用中なので)
色々試しているうちにそんなダイアログが出てきたので、削除するべきではないと書いてありましたが、とりあえずpup_save-hoge.2fsを削除して、(今までのデータは全部消えます。)再起動して、上記の手順を実行することで、インストールが完了できました。
puppy412 FRUGAL
TOSHIBA dynabook C7/212CMEN
日本に置いてきた
puppy412 FULL
TOSHIBA dynabook SS 3440
電圧の関係で故障
trying to use puppy 420 from usb
ASUS EeePC 900HA
アバター
暇人
記事: 2392
登録日時: 07/08/12(日) 23:33
お住まい: 埼玉県xx市並4
連絡する:

原因

投稿記事 by 暇人 »

原因 linux用のパーテーションが無いから。
対策 linux用のパーテションを指定する。
方法 fdisk して t して パーテションの id を入力。linuxは 83


# fdisk /dev/sda

The number of cylinders for this disk is set to 4865.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2553 20506941 7 HPFS/NTFS
/dev/sda2 2554 4865 18571140 5 Extended
/dev/sda5 2554 4776 17856216 83 Linux
/dev/sda6 4777 4832 449788+ 82 Linux swap / Solaris
/dev/sda7 4833 4865 265041 b W95 FAT32

Command (m for help): t
Partition number (1-7): 7
Hex code (type L to list codes): 83
Changed system type of partition 7 to 83 (Linux)

Command (m for help): p

Disk /dev/sda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2553 20506941 7 HPFS/NTFS
/dev/sda2 2554 4865 18571140 5 Extended
/dev/sda5 2554 4776 17856216 83 Linux
/dev/sda6 4777 4832 449788+ 82 Linux swap / Solaris
/dev/sda7 4833 4865 265041 83 Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: デバイスもしくはリソースがビジー状態です.
The kernel still uses the old table.
The new table will be used at the next reboot.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
管理人見習い
NEC Express5800 S70/SR G6950 2.8GHz/1G
lenovo S10-3 AtomN450 1.66G/1G
暇人/貳馬力/2CV
返信する