お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2007-09-30 15:35:45

yukiyama
メンバ
登録日: 2007-09-29

WIN2000とfedora7が起動出来ない・・。

投稿する所を間違えましたので、あらためて・・。

fedora7とwin2000でデュアルブートしてたのですが、ubuntuも入れたら前の二つが起動出来なくなりました。
選択場面で選ぶと2000は真っ黒、fedora7はログイン画面が少しでて、Label/bootがおかしい?ようでNG。
gpartedでみてみると、確認できるのですが・・。今の起動ははubuntuのみです。

fdisk -l の表示は以下のようです。途中で、Label/bootの所あたりでいじったようなのですが・・?

Athelon64+3000, mem 1G  sata 250G で使ってます。


Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = シリンダ数 of 16065 * 512 = 8225280 bytes

デバイス Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        7537    60540921    7  HPFS/NTFS
/dev/sda2           11369       30514   153790245    f  W95 Ext'd (LBA)
/dev/sda3            7538       11368    30772507+  83  Linux
/dev/sda5           11539       11602      514048+  83  Linux
/dev/sda6           16709       20226    28258303+   7  HPFS/NTFS
/dev/sda7           24032       30514    52074666   8e  Linux LVM
/dev/sda8           11603       16708    41013913+  83  Linux
/dev/sda9           11369       11538     1365462   82  Linux swap / Solaris

領域テーブル項目がディスクの順序と一致しません・・と表示されています。

fedora7はともかく、なんとか2000を起動させたいのですが・・。
よろしく御教示をお願いします。

オフライン

 

#2 2007-09-30 16:19:30

loser
メンバ
登録日: 2007-09-11

Re: WIN2000とfedora7が起動出来ない・・。

ブートローダーはどういう構成になっているのですか?
Ubuntuをインストールする際にGRUBをMBRにインストールしてしまったのですか?
FedoraのGRUBで起動できていたなら、そのmenu.lstをコピーして試してみてはいかがでしょうか?

オフライン

 

#3 2007-09-30 18:25:40

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

どうも、Ubuntuをインストールする際にGRUBをMBRにインストールしてしまったようです。
menu.lst を見てみると下記のようになってます。少し長いのですが・・・。
ーーーーーー 略  ーーーーーーーー

## default none
# 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 change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default        0

ーーーーーー 略  ーーーーーー

## ## End Default Options ##

title        Ubuntu, kernel 2.6.20-16-generic
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=b6545447-e5b3-4d15-9160-7094735021b8 ro quiet splash locale=ja_JP
initrd        /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=b6545447-e5b3-4d15-9160-7094735021b8 ro single
initrd        /boot/initrd.img-2.6.20-16-generic

title        Ubuntu, kernel 2.6.20-15-generic
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=b6545447-e5b3-4d15-9160-7094735021b8 ro quiet splash locale=ja_JP
initrd        /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=b6545447-e5b3-4d15-9160-7094735021b8 ro single
initrd        /boot/initrd.img-2.6.20-15-generic

title        Ubuntu, memtest86+
root        (hd0,2)
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        Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title        Microsoft Windows 2000 Professional
root        (hd0,0)
savedefault
makeactive
chainloader    +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
title        Fedora (2.6.22.7-85.fc7) (on /dev/sda8)
root        (hd0,7)
kernel        /boot/vmlinuz-2.6.22.7-85.fc7 ro root=LABEL=/ rhgb quiet
initrd        /boot/initrd-2.6.22.7-85.fc7.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
title        Fedora (2.6.21-1.3194.fc7) (on /dev/sda8)
root        (hd0,7)
kernel        /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd        /boot/initrd-2.6.21-1.3194.fc7.img
savedefault
boot

          どこを見たらよいのでしょうか?

オフライン

 

#4 2007-10-01 12:14:27

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

grubの画面で下記のように出ます。mount 出来てない・・。


grub> root (hd0,0)

grub> setup (hd0)

Error 17: Cannot mount selected partition


 (hd0,1)も同様でした。 認識させるのは、どうしたら良いのでしょうか?

オフライン

 

#5 2007-10-01 14:03:24

marin
メンバ
登録日: 2007-02-13

Re: WIN2000とfedora7が起動出来ない・・。

yukiyamaさん

  grub> root(hd0,0)
     grub> setup (hd0)

 このコマンドはGRUBをMBRにインストールするコマンドになっています。
しかも、(hd0,0)はwin2000のパーティション(/dev/sda1)ですから、GRUB関連の
ファイルがないので、エラーがでたと思いますが。

 また、このgrub>プロントがどのような操作で出てきたのかが不明ですので、はっきりとは言えません。

 1、UBUNTU起動時のメニュー画面で”C"keyを押すとgrub>が出て、他のOSを起動できる。
 2、UBUNTU起動後、端末からsudo grubと入力するとgrub>が出て、GRUBをMBRやブートセクターに
   インストールできる。

 menu.lstを見たかぎりでは、別におかしいところはないように思いますが。とにかく、1の操作後、以下の
 コマンドでwin2000が起動できるかどうか試してください。

   grub> root (hd0,0)
   grub> chainloader +1
   grub> boot

 >選択場面で選ぶと2000は真っ黒

 このようになった場合は他に原因がありそうですが、私にもわかりません。


 
 
 

オフライン

 

#6 2007-10-01 14:59:05

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

marinさん、ありがとうございます。

選択場面で選ぶと2000は真っ黒でした。hd0,1でやってみたら、 starting up....
で止まってしまいました。 fedora7のほうは、ログイン画面が少しでて 変わり、
ext.3 : unable to reserve ‘LABEL=/boot’ の所に  Failed と赤字で表示されてます。

オフライン

 

#7 2007-10-01 19:55:26

loser
メンバ
登録日: 2007-09-11

Re: WIN2000とfedora7が起動出来ない・・。

ubuntu上でsda8をマウントしてFedoraのmenu.lstを見てubuntuのものと比べてみて下さい。
特にWindowsとFedoraのセクション。
違いがあればそれが原因かも。

再確認ですが、もともとMBRにはFedoraのGRUBが入っていたのですよね?

追記:
MBRにはWindowsのブートローダーが入っていないとダメな様です。
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/232dualbootxp1.html

最後の編集者: loser (2007-10-01 20:09:42)

オフライン

 

#8 2007-10-01 20:39:58

marin
メンバ
登録日: 2007-02-13

Re: WIN2000とfedora7が起動出来ない・・。

yukiyamaさん

  >hd0,1でやってみたら、 starting up....で止まってしまいました。

  hd0,1は/dev/sda2で拡張領域ですので、そこを指定しても起動はしないはずです。

オフライン

 

#9 2007-10-01 21:06:34

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

loserさん、ありがとうございます。

 ”ubuntu上でsda8をマウント・・”の仕方がわからないのですが・・。スミマセン。

 Fedoraから立ち上がって、win2000をセレクト出来ていたのでFedoraのGRUBが入っていたと思います。

オフライン

 

#10 2007-10-01 21:36:51

loser
メンバ
登録日: 2007-09-11

Re: WIN2000とfedora7が起動出来ない・・。

$ cd /
$ sudo mkdir fedora
$ sudo mount /dev/sdb8 /fedora

として/fedora以下を見てください

私の場合はrootパスワードを設定してsuしていますが、
たぶんsudoでもできるでしょう。

オフライン

 

#11 2007-10-01 23:08:53

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

loserさん、またまたありがとうございます。

 $ sudo mount /dev/sdb8 /fedora 
 mount: スペシャルデバイス /dev/sdb8 が存在しません

      と、出てきました。

オフライン

 

#12 2007-10-02 18:18:29

loser
メンバ
登録日: 2007-09-11

Re: WIN2000とfedora7が起動出来ない・・。

間違えました!!
sda8でやって下さい。

オフライン

 

#13 2007-10-02 21:57:06

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

今日は、下記で止まってしまいました・・。

$ sudo mkdir fedora
mkdir: ディレクトリ `fedora' を作成できません: File exists

オフライン

 

#14 2007-10-03 01:16:57

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

ちなみに、   sudo mount /dev/sda1 /windows 2000
・・と入れたら下記がでました。

Usage: mount -V                 : print version
      mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .

オフライン

 

#15 2007-10-03 18:43:24

loser
メンバ
登録日: 2007-09-11

Re: WIN2000とfedora7が起動出来ない・・。

yukiyama による投稿:

今日は、下記で止まってしまいました・・。

$ sudo mkdir fedora
mkdir: ディレクトリ `fedora' を作成できません: File exists

File exists
前回作ったので既に同じ名前のディレクトリがあると言うことです。

$ sudo mount /dev/sda8 /fedora
だけでOKです。

私が言うのはおこがましいですが、
基本的なファイル操作の概念、英語、基本的なコマンド・・・・・・
など、もう少し勉強した方がいいですよ。

オフライン

 

#16 2007-10-03 20:04:54

yukiyama
メンバ
登録日: 2007-09-29

Re: WIN2000とfedora7が起動出来ない・・。

たびたび、すみません。出直してきます・・。

$ sudo mount /dev/sda8 /fedora
mount: /dev/sda8 は マウント済か /fedora が使用中です
mount: mtab によると、/dev/sda8 は /fedora にマウント済です

オフライン

 

#17 2007-10-03 21:42:26

loser
メンバ
登録日: 2007-09-11

Re: WIN2000とfedora7が起動出来ない・・。

$ df
で現在のマウント状況が確認できると思います。

マウントされているならFedoraのmenu.lstをみて比べてみましょう。
同じだとGRUBのバージョンの違いによるものかも知れません。

その場合、FedoraのGRUBを再インストールすることができなければ
Fedoraを再インストールするのが早道ではないでしょうか。

オフライン

 

Board footer

Powered by FluxBB