
Ubuntu日本語フォーラム

ログインしていません。
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-01-16 21:54:48)
オフライン
スレ主です。
その後の追記です。
何とか、「EasyBCD 1.72」や
「viエディタ」による「menu.lst」を編集し
「Windows Boot Manager」が最初に起動し
その後、「Windows」の起動や
「ubuntu」を起動する為の「Grub 2」
「knoppix」を起動する為の「Grub 1.5」間は
それぞれ、自由に行き来する事が出来る様になりました。
ありがとうございます。
しかしながら「Grub 1.5」の起動後に
「Debian GNU/Linux, kernel 2.6.19 Default」を選択すると
今度は一瞬、下記の様な画面が表示します。
Booting 'Debian GNU/Linux, kernel 2.6.19 Default'
root (hd0,0)
Filesystem type unknown partition type 0xf
Kernel /boot/vmlinuz root=/dev/sdc3 rw ramdisk_size=10000 lang=ja apm=power off nomce vga=791
Error 17: Cannot mount selected partition
Please any key to continue...
そして、そのまま放置しておりますと
黒画面がバックで文字がズラズラーっと表示し
最後はカーソルが点滅したまま
何も表示がしなくなります。
これで「KDE」環境の画面へ移行すると思ったら
やはり、出来ないのです・・・
ちなみに、下記サイトで「VMware Server 2.0」を
試しにダウンロード&インストールしました。
http://www.vmware.com/jp/download/server/
インストールさせたのはWindows XPの方です。
そして、「VMware Server 2.0」上で
「knoppix 5.1.1」をインストールさせましたが
やはり、画面は黒く何も表示はされません。
と言う事は
今回は「knoppix 5.1.1」を
インストールさせて「HDD」上で起動させる事は
出来ないのでしょうか?
USBブートから起動させるやり方は
試しておりませんが
CDブートであれば、問題なく起動されます。
やはり、今回の様なパソコンの構成では
「knoppix 5.1.1」を
インストールさせて「HDD」上で起動させる事は
出来ないのでしょうか?
お願いします!
何か、ご教授を頂ける事があれば何でも教えて下さい!!
ここまでやったので、もう少し頑張ってみたいです。
kiyoshi様>
kiyoshi様の下記ご教授を見させて頂く前に
私の「1/17の15:09:53」を投稿してしまいました。
申し訳ございません。
kiyoshi による投稿:
quica-1980さんへ
お久しぶりです。小生、しばらくこちらに書き込めなかったのですが、GHOさんとjackalopeさんのおかげで起動するようになり、良かったですね。
Windows Boot Managerについては全く存じませんので、間違っているかもしれません。
KnoppixをインストールしたデバイスがBIOSで(hd0,0)として認識されているということでしたが、Windows boot Managerが起動している状態では、Windowsのインストールされたハードディスクがhd0であり、データ用がhd1で、KnoppixのインストールされたHDDがhd2ではないでしょうか。そう考えると、
root (hd0,0)っておかしいような気がします。Knoppixは/dev/sdc1にインストールされたのですか?それなら、
root (hd2,0)
でしょうし、もしも/dev/sdc3にインストールされたのなら、
root (hd2,2)
です。
$ sudo fdisk -l
の結果を知りたいです。(Knoppixがどこにインストールされているのか分からないので。)
root行の代わりにUUIDの方が良いかもしれません。
Ubuntuで起動して、端末で
$ sudo blkid
でKnoppixがインストールされた(というか、KnoppixのインストールによってGrubが参照するように設定された)パーティションのUUIDを取得してください。
UUID="*****"
の*****の部分です。それを
root (hd0,0)
の代わりに、
uuid *****
と記してみてください。
また、
kernel ・・・ root=/dev/sdc3 ・・・
を
kerel ・・・ root=UUID=***** ・・・
に変更してみてください。
GrubメニューでCキーで、コマンドラインに入り、
grub> find /boot/grub/stage2
で
(hd?,?)
かが分かるかもしれません。GrubメニューでEキーで編集モードに入れば、その次の起動だけ、Grubメニューの内容を変更して起動できます。変更したいところにカーソルを合わせてもう一度Eキーを押せば、編集出来ます。ENTERで決定して、Bキーで起動してみることができます。失敗したら、CTRL+ALT+DELで再起動できるかもしれません。
GHOさんへ
Grubでのハードディスクの認識順がインストール時と異なっていることへのサポート有り難うございました。quica-1980さん による投稿:
title Windows VISTA&XP (Windows-boot-manager)
rootnoverify (hd0,1)
makeactive
chainloader +1
上記にし、、「Windows VISTA&XP (Windows-boot-manager)」を
選択しますと、
Error 12: Invalid device requestedですから、hd0,1が/dev/sdc2を指しているということが分かりますね。本当にSATAとIDEの混在はトラブルの元ですね。
もう一つの手として、UbuntuのGrubを利用して、CキーでGrubのコマンドラインで
grub> root (hd2,2)
grub> Kernel /boot/vmlinuz root=/dev/sdc3 rw ramdisk_size=10000 lang=ja apm=power off nomce vga=791
grub> boot
か、
grub> uuid *****
grub> Kernel /boot/vmlinuz root=UUID=***** rw ramdisk_size=10000 lang=ja apm=power off nomce vga=791
grub> boot
で起動することができるかもしれません。
上記のご教授を踏まえて
改めて、現状のご報告をさせて頂きます。
何とか、「EasyBCD 1.72」や
「viエディタ」による「menu.lst」を編集し
「Windows Boot Manager」が最初に起動し
その後、「Windows」の起動や
「ubuntu」を起動する為の「Grub 2」
「knoppix」を起動する為の「Grub 1.5」間は
それぞれ、自由に行き来する事が出来る様になりました。
ありがとうございます。
一応、下記にて出力結果を記します。
一般ユーザ名@ホスト名:~$ sudo fdisk -l
[sudo] password for 一般ユーザ名:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = シリンダ数 of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdaffdaff
デバイス Boot Start End Blocks Id System
/dev/sda1 2 16708 134198977+ f W95 Ext'd (LBA)
/dev/sda2 * 16709 30401 109989022+ 7 HPFS/NTFS
/dev/sda5 2 16708 134198946 7 HPFS/NTFS
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = シリンダ数 of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcaef155d
デバイス Boot Start End Blocks Id System
/dev/sdb1 1 30402 244196352 7 HPFS/NTFS
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = シリンダ数 of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1b1b17ea
デバイス Boot Start End Blocks Id System
/dev/sdc1 * 1 14957 120142071 83 Linux
/dev/sdc2 14958 15200 1951897+ 5 拡張領域
/dev/sdc3 15201 30401 122102032+ 83 Linux
/dev/sdc5 14958 15200 1951866 82 Linux swap / Solaris
一般ユーザ名@ホスト名:~$ sudo blkid
/dev/sda2: UUID="44583AD4583AC508" LABEL="Windows VISTA Ultimate SP1" TYPE="ntfs"
/dev/sda5: UUID="CE4494C74494B3A5" LABEL="Windows XP Professional SP3" TYPE="ntfs"
/dev/sdb1: UUID="3CF49DFBF49DB81A" LABEL="?????" TYPE="ntfs"
/dev/sdc1: UUID="0fc13c4a-752a-4456-b367-8f69250b52ed" TYPE="ext3"
/dev/sdc5: TYPE="swap" UUID="d9652eab-3ffe-4a43-a253-0630d5e9ed1e"
/dev/sdc3: UUID="d2fbf5f0-b794-4432-9122-1b8ba3832167" SEC_TYPE="ext2" TYPE="ext3"
最後の編集者: quica-1980 (2009-01-17 16:06:45)
スレ主の追記です。
以下は「/boot/grub/menu.lst」の出力結果
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=0fc13c4a-752a-4456-b367-8f69250b52ed
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-9-generic
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro single
initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title knoppix 5.1.1 (Grub 1.5)
root (hd2,2)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows VISTA&XP (Windows Boot Manager)
root (hd0,1)
savedefault
chainloader +1
そしてご教授に頂きました下記ですが
「
もう一つの手として、UbuntuのGrubを利用して、CキーでGrubのコマンドラインで
grub> root (hd2,2)
grub> kernel /boot/vmlinuz root=/dev/sdc3 rw ramdisk_size=10000 lang=ja apm=power off nomce vga=791
grub> boot
」
試した結果、文字がズラズラーっと並び
最後は「Ctrl+D」で再起動を促されるので
実行すると再起動します。
・・・これ以上は手立てがございませんでしょうか・・・
何卒、宜しくお願い申し上げます。
最後の編集者: quica-1980 (2009-01-17 16:51:12)
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-01-17 19:48:11)
オフライン
kiyoshi様>
いつも、ご教授、本当にお世話をお掛け致します。
ほんと、僕の家に来て色々、試して頂きたいです・・・
それでは、現況報告です。
下記は「ubuntu 8.10」を起動後
コマンドを打った結果です。
一般ユーザ名@ホスト名:~$ sudo mount -t ext3 /dev/sdc3 /mnt -o rw
[sudo] password for 一般ユーザ名:
一般ユーザ名@ホスト名:~$ ls /mnt/boot -all
合計 9268
drwxr-xr-x 3 root root 4096 2009-01-17 13:23 .
drwxr-xr-x 24 root root 4096 2009-01-18 04:09 ..
lrwxrwxrwx 1 root root 17 2009-01-17 13:05 System.map -> System.map-2.6.19
-rw-r--r-- 1 root root 964483 2006-12-18 06:03 System.map-2.6.19
-rw-r--r-- 1 root root 308326 2006-12-06 02:05 coffee.bmp
-rw-r--r-- 1 root root 76434 2006-12-18 06:00 config-2.6.19
lrwxrwxrwx 1 root root 13 2009-01-17 13:05 debian.bmp -> /boot/sid.bmp
-rw-r--r-- 1 root root 153720 2006-12-06 02:05 debianlilo.bmp
drwxr-xr-x 2 root root 4096 2009-01-17 13:37 grub
lrwxrwxrwx 1 root root 17 2009-01-17 13:23 initrd.img -> initrd.img-2.6.19
-rw-r--r-- 1 root root 5416128 2009-01-17 13:23 initrd.img-2.6.19
-rw-r--r-- 1 root root 94760 2005-10-06 04:57 memtest86+.bin
-rw-r--r-- 1 root root 94356 2005-02-03 07:41 memtest86.bin
-rw-r--r-- 1 root root 23662 2006-12-06 02:05 sarge.bmp
-rw-r--r-- 1 root root 24116 2006-12-06 02:05 sid.bmp
lrwxrwxrwx 1 root root 14 2009-01-17 13:23 vmlinuz -> vmlinuz-2.6.19
-rw-r--r-- 1 root root 2029901 2006-12-18 06:03 vmlinuz-2.6.19
-rw-r--r-- 1 root root 223661 2006-08-17 01:32 xen-3.0-i386.gz
一般ユーザ名@ホスト名:~$ cat /mnt/boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.19 Default
root (hd2,2)
kernel /boot/vmlinuz root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
initrd /boot/initrd.img
savedefault
boot
title Debian GNU/Linux, kernel 2.6.19
root (hd2,2)
kernel /boot/vmlinuz-2.6.19 root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
initrd /boot/initrd.img-2.6.19
savedefault
boot
title Debian GNU/Linux, kernel memtest86
root (hd2,2)
kernel /boot/memtest86.bin
boot
title Debian GNU/Linux, kernel memtest86+
root (hd2,2)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
title ubuntu 8.10 (Grub 2.0)
root (hd2,0)
savedefault
chainloader +1
title Windows XP&VISTA (Windows Boot Manager)
root (hd0,1)
savedefault
chainloader +1
そして、下記の件ですが
「
GrubメニューでCキーを押してGrubのコマンドラインに入り、
grub> uuid d2fbf5f0-b794-4432-9122-1b8ba3832167
grub> kernel /boot/vmlinuz root=UUID=d2fbf5f0-b794-4432-9122-1b8ba3832167 rw ramdisk_size=10000 lang=ja apm=power off nomce vga=791
grub> initrd /boot/initrd.gz
grub> boot
でいかがでしょう。ただし、/boot/initrd.imgがある場合には3行目を
grub> initrd /boot/initrd.img
としてください。
」
実際には
grub> uuid d2fbf5f0-b794-4432-9122-1b8ba3832167
grub> kernel /boot/vmlinuz root=UUID=d2fbf5f0-b794-4432-9122-1b8ba3832167 rw ramdisk_size=10000 lang=ja apm=power off nomce vga=791
grub> initrd /boot/initrd.gz
Error 15: File not Found
grub> initrd /boot/initrd.img
grub> boot
としました。
すると、文字がズラズラーっと並びフリーズしてしまいました。
最後の三行だけをメモに取りましたので
下記にてご査収の程
何卒、宜しくお願い申し上げます。
Begin: Mounting root file system... ...
/init: /init: 149: Sysntax error: 0xuuid:d2fbf5f0-b794-4432-9122-1b8ba3832167
Kernel panic - not syscing: Attempted to kill init!
・・・確かに最早、「knoppix」の事となっておりますので
質問場所がそぐわないです。
しかしながら、何処へどの様に
質問すれば良いのか分かりかねてしまった
何卒、お許し下さいます様
お詫び、申し上げます。
また、インストール作業時には下記を選択致しました・
・debian: Debian 形式のシステム(以前のインストーラの様に)
それでは、引き続き何卒、宜しくお願い申し上げます。
ダメ元前提ですが、MBMをインストールされてみては如何がかと
http://forums.ubuntulinux.jp/viewtopic.php?id=3565&p=2
こちらではknoopixも成功してるみたいですし
http://wikiwiki.jp/disklessfun/?mbm#p55697b7/
せっかく苦労してntldrやったのにとショックを受けました。しかし、よく読んでみると面白くなり、やってみると頗る便利だと思いました。そこで以下にそれをざっと綴ってみます。
デバイスは当トピックでのんきさんのご教示により12月18日成功したGRUBでやったそのままのHDです。
デバイス Boot Start End Blocks Id System
/dev/sda1 * 1 736 5911888+ 83 Linux ubuntu8.10
/dev/sda2 737 1190 3646755 7 HPFS/NTFS WindowsXP
/dev/sda3 2374 2482 875542+ 5 拡張領域
/dev/sda4 1191 1827 5116702+ 83 Linux Fedora10
/dev/sda5 2374 2482 875511 82 Linux swap / Solaris
Ⅰ mbmのインストール
参考サイトに記してある通りにubuntuかfedoraでmbm-0.390をダウンロード後、解凍してこのHDDの先頭(mbr)にインストールする。
# ./install-mbm-no-install /dev/sda
Ⅱ grubをそれぞれの(pbr)にインストール
ubuntuの場合
#grub
>root (hd0,0) =/dev/sda1 rootの場所指定
>setup (hd0,0) grubをpbrに設定
>quit
fedora の場合
#grub
>root (hd0,3) =/dev/sda4 rootの場所指定
>setup (hd0,3) grubをpbrに設定
>quit
*いずれも既にpbrに入っていたとしても意識的に改めて再設定した方が安全確実です。
*それぞれが起動できない時はUbuntuliveCD
参照https://wiki.ubuntulinux.jp/UbuntuTips/ … brWithGrub
やFedoraInstallDVDレスキューモードで上記設定をすればいいです。
****追記2 事後の再設定だけなら、こう言う時こそあのKnoppix5.3で試しにやってみましたが、美しくかつ楽でした。grubのバージョン3つとも0.97だからOKらしいですが。****
Ⅲ 再起動
黒い画面に1.Ubuntu8.10 2.WindowsXP 3.+DOS Extend 4.Fedora10 5.Diskette
が出てくる。(F2キーを押して名前を変えた後です)
****追記3 拡張領域にインストールされている場合は、そこに移動してキーボードの->を押下すると出現します。****
参照http://nobumasa-web.hp.infoseek.co.jp/m … _tool.html
**** 追記4 上記は既に3つのOSがそこに入っていたことを前提に記していますが、順序に関係なく新規にインストールする場合(windowsxpも含めて)も同じ考え方だと思います(hideさんも触れておられます)。要は直近の時点でmbrにどのブートローダーが入っているのかだと....(今回は mbm)。****
最後の編集者: hide (2009-01-17 22:17:48)
オフライン
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-01-17 23:38:06)
オフライン
hide様
kiyoshi様
ご両名とも、ご教授、ありがとうございます。
それでは現況報告です。
「MBM」に関しては
具体的に何をすれば良いのかと
一応、説明を簡単に読まさせて頂きましたが
実際に試して、現在の構成が崩れてしまい
復旧に時間が掛かる
もしくは復旧のさせ方が分からなくなる可能性がある為
怖くて試しておりません。
knoppixをHDDで起動させ、その後の使用目的は
本当に、私の勝手な都合と言いましょうか・・・
そこに特に意味はございません。
「やってみたい」
只、それだけです。(苦笑)
ご教授に頂きました下記コマンドの結果を記します。
一般ユーザ名@ホスト名:~$ sudo grub
[sudo] password for 一般ユーザ名:
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> find /boot/sid.bmp
(hd2,2)
grub> uuid d2fbf5f0-b794-4432-9122-1b8ba3832167
Error 27: Unrecognized command
と、「Error 27」が表示しましたので
grub> root (hd2,2)
grub> setup (hd2,2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd2,2)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd2,2)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd2,2) /boot/grub/stage2 p /boot/grub/menu.lst "... s
ucceeded
Done.
grub> quit
一般ユーザ名@ホスト名:~$ exit
としました。
「
そのパーティションにチェインロードするように、起動時のGrubメニューでCキーでコマンドラインに入り、
grub> uuid d2fbf5f0-b794-4432-9122-1b8ba3832167
grub> chainloader +1
grub> boot
でいかがでしょうか。あ、uuidではなく、rootの方が良いかもしれません。
」
そして
「
また、KnoppixのGrubのバージョンって分かりませんか?0.97だと思うのですが。
」
との事でございますが
これはどの様に調べれば宜しいでしょうか?
それでは、引き続き
何卒、宜しくお願い申し上げます。
最後の編集者: quica-1980 (2009-01-18 00:03:41)
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-01-17 23:50:25)
オフライン
kiyoshi様>
いつも、お世話になっております。
それでは、現況報告です。
前述の通り
「
・・・って、書き込み中だったのですね。既にされているようで・・・。うまくインストールできたようですね。
」
ここまではうまくいきましたので
早速、下記を試しました。
「
そのパーティションにチェインロードするように、起動時のGrubメニューでCキーでコマンドラインに入り、
grub> uuid d2fbf5f0-b794-4432-9122-1b8ba3832167
grub> chainloader +1
grub> boot
でいかがでしょうか。あ、uuidではなく、rootの方が良いかもしれません。
」
すると
Starting up ...
GRUB
と、表示し何も起こりません。
「Windows Boot Manager」で「knoppix 5.1.1」を選択すると
BootPart 2.60 Bootsector (c) 1993-2005 Gilles Vollant http://www.winimg.com/bootpart htm
Loading new partition
Bootsector from C.H. Hoststatter
と、表示し何も起こりません。
下記の件が、よく分からなかったんですが
どのタイミングで行うものなのでしょうか?
「
後は、Ubuntuが起動しているときにhd2になっているのに、それが起動時にhd0かもしれないことが敵です。
map (hd2) (hd0)
map (hd0) (hd2)
とかが必要かもしれません。SATAとIDEの混在環境での設定に詳しくないので間違っているかもしれませんが。
」
また、下記の作業はubuntuの「GRUB」画面で
行うものなのでしょうか?
「
とりあえず、起動させてみて、KnoppixのGrubに入って、CキーでGrubコマンドラインに入り、
grub> find /boot/sid.bmp
で表示されたもの(hd*,2)について、
grub> root (hd*,2)
grub> makeactive
grub> chainloader +1
grub> boot
でいかがでしょう。
makeactive
とかは当てずっぽうです。」
何から何までお世話になり
申し訳ございませんが
何卒、宜しくお願い申し上げます。
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-01-18 01:05:53)
オフライン
kiyoshi様>
ご教授を頂きまして
ありがとうございます。
早速、下記を試しました。
「
とりあえず、起動させてみて、KnoppixのGrubに入って、CキーでGrubコマンドラインに入り、
grub> find /boot/sid.bmp
で表示されたもの(hd*,2)について、
grub> root (hd*,2)
grub> makeactive
grub> chainloader +1
grub> boot
でいかがでしょう。
makeactive
とかは当てずっぽうです。」
は、「KnoppixのGrubに入って」が間違いです。パソコン起動時のUbuntu?のGrubメニューでCキーで・・・やってみてください。
すると
Starting up ...
GRUB
と、表示し何も起こりません。
・・・
ほんと、何が何やら分かりませんが
とにかく、出来ないって事は身をもって分かっております。(苦笑)
ちなみに関係は無いかもしれませんが
現状の出力内容を下記にてお伝えします。
一般ユーザ名@ホスト名:~$ sudo mount -t ext3 /dev/sdc3 /mnt -o rw
[sudo] password for 一般ユーザ名:
一般ユーザ名@ホスト名:~$ su -
パスワード:
root@ホスト名:~# cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
color cyan/blue white/blue
#A splash image for the menu
splashimage=/boot/grub/splashimages/grub-hanakoara.xpm.gz
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=0fc13c4a-752a-4456-b367-8f69250b52ed
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-9-generic
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro single
initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title knoppix 5.1.1 (Grub 1.5)
root (hd2,2)
map (hd2) (hd0)
map (hd0) (hd2)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows VISTA&XP (Windows Boot Manager)
root (hd0,1)
savedefault
chainloader +1
root@ホスト名:~# cat /mnt/boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.19 Default
root (hd2,2)
map (hd2) (hd0)
map (hd0) (hd2)
kernel /boot/vmlinuz root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
initrd /boot/initrd.img
savedefault
makeactive
boot
title Debian GNU/Linux, kernel 2.6.19
root (hd2,2)
map (hd2) (hd0)
map (hd0) (hd2)
kernel /boot/vmlinuz-2.6.19 root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
initrd /boot/initrd.img-2.6.19
savedefault
makeactive
boot
title Debian GNU/Linux, kernel memtest86
root (hd2,2)
kernel /boot/memtest86.bin
boot
title Debian GNU/Linux, kernel memtest86+
root (hd2,2)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
title ubuntu 8.10 (Grub 2.0)
root (hd2,0)
savedefault
chainloader +1
title Windows XP&VISTA (Windows Boot Manager)
root (hd0,1)
savedefault
chainloader +1
それでは、引き続き何卒、宜しくお願い申し上げます!!!!!
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-01-18 01:16:28)
オフライン
kiyoshi様>
遅くまでありがとうございます。
現況報告です。
とりあえず、設定ファイルは以下の様に致しました。
一般ユーザ名@ホスト名:~$ sudo grub --version
[sudo] password for 一般ユーザ名:
grub (GNU GRUB 0.97)
一般ユーザ名@ホスト名:~$ su -
パスワード:
root@ホスト名:~# cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
color cyan/blue white/blue
#A splash image for the menu
splashimage=/boot/grub/splashimages/grub-hanakoara.xpm.gz
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=0fc13c4a-752a-4456-b367-8f69250b52ed
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-9-generic
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro single
initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=0fc13c4a-752a-4456-b367-8f69250b52ed ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 0fc13c4a-752a-4456-b367-8f69250b52ed
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title knoppix 5.1.1 (Grub 1.5)
root (hd2,2)
kernel /boot/vmlinuz root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
initrd /boot/initrd.img
boot
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows VISTA&XP (Windows Boot Manager)
root (hd0,1)
savedefault
chainloader +1
root@ホスト名:~# sudo mount -t ext3 /dev/sdc3 /mnt -o rw
root@ホスト名:~# cat /mnt/boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.19 Default
root (hd2,2)
kernel /boot/vmlinuz root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
initrd /boot/initrd.img
savedefault
boot
title Debian GNU/Linux, kernel 2.6.19
root (hd2,2)
kernel /boot/vmlinuz-2.6.19 root=/dev/sdc3 rw ramdisk_size=100000 lang=ja apm=power-off nomce vga=791
initrd /boot/initrd.img-2.6.19
savedefault
boot
title Debian GNU/Linux, kernel memtest86
root (hd2,2)
kernel /boot/memtest86.bin
boot
title Debian GNU/Linux, kernel memtest86+
root (hd2,2)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
title ubuntu 8.10 (Grub 2.0)
root (hd2,0)
savedefault
chainloader +1
title Windows XP&VISTA (Windows Boot Manager)
root (hd0,1)
savedefault
chainloader +1
最後の編集者: quica-1980 (2009-01-18 01:41:53)
スレ主の追記
そして以下は試した事です。
「Windows Boot Manager」→「ubuntu 8.10 (Grub 2.0)」→「knoppix 5.1.1 (Grub 1.5)」と進むと
ズラズラーっと画面が表示し
途中でカーソルが点滅し何も起こりません。
この時、気になる二行としては
下記の様に表示しております。
Will now mount local filesystems:mount: mount point 0 does not exit
failed!!
次に
「Windows Boot Manager」→「ubuntu 8.10 (Grub 2.0)→「Cキー」とし
grub> find /boot/sid.bmp
(hd2,2)
grub> root (hd2,2)
grub> makeactive→入力してもしなくても
grub> chainloader +1
grub> boot
とすると
Starting up ...
GRUB
と表示し何も起こりません。
それでは、宜しくお願い申し上げます。
最後の編集者: quica-1980 (2009-01-18 03:02:29)
スレ主です。
ここまでの、個人的な感想です。
そもそも今回は
Linuxの事を勉強しようと思っての挑戦でした。
今、手元にある書籍を使って
手軽に始めてみようかなぁっと思った次第でございます。
となると、ここまでやってきて
どうしても出来ない様なら
「knoppix」に拘る必要は、無いのかもしれません。
「Linux」の事を勉強し始めてまだまだ間もないですが
「Windows」の事だって、そんなに詳しい訳でもなく
言うなればパソコン初心者の域から
脱していないレベルだと思っております。
ですので、訳の分からない
現況及び状況報告となってしまっている事を
この場を借りて改めてお詫び申し上げます。
さて「Linux」に関してですが
特に「Knoppix」を使うにあたって
興味をもったのは
「デスクトップ環境」である
「KDE」を「HDD」に
インストールして使ってみたいと言う理由がございました。
そして、「Linux」とは大きく分けて
「Red Hat」ベースの物
「Debian」ベースの物があるそうですね。
※勿論、その他にも色々、あるようですが・・・
で、「knoppix」と「ubuntu」は
両方、「Debian」ベースである様ですね。
「ubuntu」がインストール出来ておるのに対し
ただ、「KDE」環境を使ってみたいと言う理由だけで
「knoppix」をそこまでインストールする必要が
無いのではと思っております。
しかしながら、ここまでやってますので
もう暫く
「これ以上は出来ないもしくはサポートのしようがない」
と言う、ところまでやりたいです。
なので、ご協力頂ける方からの
ご教授を何卒、宜しくお願い申し上げます。
※Linuxに関する個人的に所有する書籍
・「KNOPPIX活用ガイド:Windows PC メンテナンスブック」
http://www.amazon.co.jp/KNOPPIX%E6%B4%BB%E7%94%A8%E3%82%AC%E3%82%A4%E3%83%89%E2%80%95Windows-PC%E3%83%A1%E3%83%B3%E3%83%86%E3%83%8A%E3%83%B3%E3%82%B9%E3%83%96%E3%83%83%E3%82%AF-%E5%8C%97%E6%B5%A6-%E8%A8%93%E8%A1%8C/dp/4274066827/ref=sr_1_1?ie=UTF8&s=books&qid=1232214626&sr=1-1
・最新 完全無敵のリナックス KNOPPIXではじめるLinux入門―インストールしなくても使える最強のLinux (単行本)
http://www.amazon.co.jp/%E6%9C%80%E6%96%B0-%E5%AE%8C%E5%85%A8%E7%84%A1%E6%95%B5%E3%81%AE%E3%83%AA%E3%83%8A%E3%83%83%E3%82%AF%E3%82%B9-KNOPPIX%E3%81%A7%E3%81%AF%E3%81%98%E3%82%81%E3%82%8BLinux%E5%85%A5%E9%96%80%E2%80%95%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%97%E3%81%AA%E3%81%8F%E3%81%A6%E3%82%82%E4%BD%BF%E3%81%88%E3%82%8B%E6%9C%80%E5%BC%B7%E3%81%AELinux-%E8%AB%8C%E5%B1%B1-%E7%A0%94%E4%B8%80/dp/4798011398/ref=sr_1_1?ie=UTF8&s=books&qid=1232214703&sr=1-1
・「Fedora7で作るネットワークサーバ構築ガイド」
http://www.amazon.co.jp/exec/obidos/ASIN/4798017345?ie=UTF8&tag=shuwa01-22&linkCode=as2&camp=247&creative=1211&creativeASIN=4798017345
・「PCfan 2009/1/1・15 合併号」に付属された「ubuntu 8.10」のインストールDVD
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
最後の編集者: kiyoshi (2009-01-18 11:47:46)
オフライン
ここまで来たら、単体で knoppix をインストールしてちゃんと起動できるかを検証した方がいいかもしれませんね。
8Gの壁の影響で knoppix が起動できないとかも考えてます。 Error18 が出てないのでなんとも言えませんが。
オフライン
kiyoshi様
GHO様
お早うございます。
ご両名とも、ご教授を頂きありがとうございます。
下記の件に関しては
本当に申し訳ございません!!
・・・そうですね
理由を先に話しておくべきでした・・・
てっきり「ubuntu 8.10」で「KDE」環境は使えないものだと
勝手に決めつけておりました・・・
・・・思い込みはイケませんね。
「
UbuntuでもKDEを使えます。Synapticでインストールして、ログイン前にログイン画面で選択できます。また、Kubuntuという、KDEをベースにしたUbuntuの派生ディストリビューションもあります。
これを最初に聞いておきたかったです。だから、最初になぜKnoppixを使いたいのか聞いていたつもりだったのです。
でも、まぁ、もう少しKnoppixのインストールを試みてみますか?おそらく、knoppix-installerがSATAとIDEの場合にうまく対応できていないような気がします。
」
さて、ご教授に頂きました出力内容です。
ご査収の程、宜しくお願い申し上げます。
一般ユーザ名@ホスト名:~$ sudo mount -t ext3 /dev/sdc3 /mnt -o rw
[sudo] password for 一般ユーザ名:
一般ユーザ名@ホスト名:~$ sudo gedit /mnt/etc/fstab
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7
GTK Panel of SCIM 1.4.7
# Added by KNOPPIX
noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sr0 /media/sr0 auto ro,noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sda2 /media/sda2 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppix,nls=euc-jp 0 0
# Added by KNOPPIX
/dev/sda5 /media/sda5 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppix,nls=euc-jp 0 0
# Added by KNOPPIX
/dev/sdb1 /media/sdb1 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppix,nls=euc-jp 0 0
# Added by KNOPPIX
/dev/sdc1 /media/sdc1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sdc3 /media/sdc3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sdc5 none swap defaults 0 0
また、下記の件ですが、仰る通りです。
以前にkiyoshi様から
先に「knoppix 5.1.1」を入れて
「ubuntu 8.10」を入れるとどうなるのか?
と言うご教示を頂いております。
この案に関しては、最終手段として
試してみようと思います。
※出来れば現在の「ubuntu 8.10」の設定を崩したくないので・・・
「
ここまで来たら、単体で knoppix をインストールしてちゃんと起動できるかを検証した方がいいかもしれませんね。
8Gの壁の影響で knoppix が起動できないとかも考えてます。 Error18 が出てないのでなんとも言えませんが。
」
それでは
何卒、宜しくお願い申し上げます。
最後の編集者: quica-1980 (2009-01-18 13:28:22)
スレ主です。
今回、「knoppix 5.1.1」を利用するにあたり
「KDE」環境を使ってみたい
と言う希望がございますが
そちらを「ubuntu 8.10」で叶える為に
「Synaptic」と言う言葉を
ご教授頂きました。
なので、興味が津々でしたので
早速、調べてみました。
現在、自作パソコンには
「システム」→「システム管理」→「Synaptic パッケージマネージャ」が
導入されている様です。
そこで、「Synaptic パッケージマネージャ」を起動し
「KDE」環境をインストールしてみようと思うのですが
どこにチェックを入れてインストールを完了させれば
ログイン前にログイン画面で選択が出来る様になるのでしょうか?
質問が多岐に渡り、非常に申し訳ございませんが
何卒、宜しくお願い申し上げます。
最後の編集者: quica-1980 (2009-01-18 14:36:12)
http://unit.aist.go.jp/itri/knoppix/
の、knoppix_v5.1.1CD_20070104-20070122+IPAFont_AC20070123.isoでhdb7にインストールしました。
menu.lstのrootの所がhd0,0になっていましたがhd1,6に修正すればブートできました。
http://www.rcis.aist.go.jp/project/knoppix/
の、knoppix_v5.3.1CD_20080326-20080520-AC.isoでインストールしたmenu.lstは正常で問題なくブートできました。
5.1.1はあきらめて5.3.1をインストールされてはどうでしょう。
KDE環境はパッケージ名kde-coreをインストールすればいいのではと思います。
kde-coreではなくkubuntu-desktopのようです。
最後の編集者: jackalope (2009-01-19 09:43:56)
オフライン
jackalope様>
ご教授、ありがとうございます。
今回、「knoppix 5.1.1」をインストールさせたのは
「hdc3」であると認識しております。
「ubuntu 8.10」を起動し
「sudo mount -t ext3 /dev/sdc3 /mnt -o rw」を実行。
そして、「cat /mnt/boot/grub/menu.lst」を実行したところ
title Debian GNU/Linux, kernel 2.6.19 Default
root (hd2,2)
と修正を致しましたが、起動はしません。
どの様な事が考えられるでしょうか?
現在(2009年1月18日(日)時点で)、「knoppix」は
「knoppix 5.3.1」が最新な様なので
今後、視野の一つとして検討させて頂きたいと思います。
とりあえず、現状でどこまで出来るのかを
試してみたい次第でございます。
ご教示、本当にありがとうございます。
そして、「ubuntu 8.10」の「KDE」環境化ですが
早速
「システム」→「システム管理」→「Synaptic パッケージマネージャ」
を実行しました。
次に
「KDEデスクトップ環境」→「kde-core」
をパッケージインストールしました。
ここまでは何も問題なく進んでいるのですが
再起動をさせ、「ログイン画面」で
「GNOME」か「KDE」を選択出来る画面は
表示せずに
「GNOME」環境で起動してしまいます。
どの様にすれば
選択出来る画面が表示するのでしょうか?
それでは
何卒、宜しくお願い申し上げます。
jackalope による投稿:
http://unit.aist.go.jp/itri/knoppix/
の、knoppix_v5.1.1CD_20070104-20070122+IPAFont_AC20070123.isoでhdb7にインストールしました。
menu.lstのrootの所がhd0,0になっていましたがhd1,6に修正すればブートできました。
http://www.rcis.aist.go.jp/project/knoppix/
の、knoppix_v5.3.1CD_20080326-20080520-AC.isoでインストールしたmenu.lstは正常で問題なくブートできました。
5.1.1はあきらめて5.3.1をインストールされてはどうでしょう。
KDE環境はパッケージ名kde-coreをインストールすればいいのではと思います。
最後の編集者: quica-1980 (2009-01-18 15:31:25)