
Ubuntu日本語フォーラム

ログインしていません。
デュアルブートにしていると起動時下記のようなOS選択画面がでますが、xpを一番上にしたいです。
Ubuntu 8.04, kernel 2.6.24-19-generic
Ubuntu 8.04, kernel 2.6.24-19-generic (recovery mode)
Ubuntu 8.04, kernel 2.6.24-16-generic
Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
Ubuntu 8.04, memtest86+
Other operating systems:
Windows xp
と表示されます。xpを一番上にして、何もしなくてもxpが起動するようにしたいです。又、OSを選択する時間について変える方法を教えてください。
https://wiki.ubuntulinux.jp/UbuntuTips/Install/InstallDualBoot
リンク先の12番で、ウブンツインストール時にアドバンスは選択していません。自分のブートローダーが何か良く分かりません。すみません。
8.04は全て9.04に訂正してください。すみません。
http://netwalk-web.hp.infoseek.co.jp/home3/xp-8.htm
赤く囲っている『リストボタン』をクリックすれば選択できるOSの一覧が表示されるのでその中からよく利用する物を選択して下さい。
リンク先のようにやったら、xpだけ出てきて、ウブンツは出てきません。xpが既定のOSに設定されているみたいです。
>#3 東京花子1さん
それは、XP側のブート設定なので、そこをいくら弄っても grub の OS選択画面は変わりません。
Ubutnuを起動して端末から /boot/grub/menu.lst を変更する必要があります。
内容を確認する為に、端末を起動して次のようにコマンドして下さい。
gedit /boot/grub/menu.lst
そこに表示された結果を全てここに貼り付けて下さい。
どのように変更すれば良いかを具体的にお教えします。
OSの選択時間は何秒にしますか?それもお教え下さい。
/boot/grub/menu.lst の内容をを貼りつけて頂かない限りお答え致しかねますのでご了承下さい。
#他の方々におかれましては、東京花子1さんが、上記指示に従い張り付けを行うまでアドバイス等はお控え頂くようお願い致します。
オフライン
# 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=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa
## default grub root device
## e.g. groot=(hd0,0)
# groot=5ab5ac2f-924c-42a5-8158-d6c4504a79d5
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 9.04, kernel 2.6.28-14-generic
uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa quiet splash
initrd /boot/initrd.img-2.6.28-14-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa single
initrd /boot/initrd.img-2.6.28-14-generic
title Ubuntu 9.04, kernel 2.6.27-7-generic
uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 9.04, kernel 2.6.27-7-generic (recovery mode)
uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 9.04, memtest86+
uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5
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/sda2
title Microsoft Windows XP Home Edition
root (hd0,1)
savedefault
makeactive
chainloader +1
3から20秒くらいに変更したいと思います。真摯な対応ありがとうございます。
では、ubutnuで端末を起動して下さい。
sudo gedit /boot/grub/menu.lst
と入力して、menu.lst を開きます。
パスワードの入力が求められますので、Ubuntu のログインパスワードを入力して下さい。
開きましたら次のように変更します。
起動時間については timeout と書かれた行を探して後ろの数字を変更します。現在は 10 になっています。単位は秒ですのでキーボードに触らなければ、10秒後に起動します。起動までの時間を5秒にしたければ 5 にします。20秒なら 20です。
OSの表示順については
# This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda2 title Microsoft Windows XP Home Edition root (hd0,1) savedefault makeactive chainloader +1
となっている行から下全てを切り取って
### BEGIN AUTOMAGIC KERNELS LIST
という行の上に貼り付けます。
上記の変更をした上で、上書き保存して下さい。
### BEGIN AUTOMAGIC KERNELS LIST
から
### END DEBIAN AUTOMAGIC KERNELS LIST
までの間に設定を書き加えると、カーネルのアップデートがあったタイミングで自動書換えにまきこまれて消えてしまします。
この間には書かないで下さい。
オフライン
例えば XP の起動設定を一番上にして、起動までの時間を20秒にしたい場合は、次のようになります。
# 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 20 ## 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 # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda2 title Microsoft Windows XP Home Edition root (hd0,1) savedefault makeactive chainloader +1 ### 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=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa ## default grub root device ## e.g. groot=(hd0,0) # groot=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ## 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 ## specify if running in Xen domU or have grub detect automatically ## update-grub will ignore non-xen kernels when running in domU and vice versa ## e.g. indomU=detect ## indomU=true ## indomU=false # indomU=detect ## 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 9.04, kernel 2.6.28-14-generic uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5 kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa quiet splash initrd /boot/initrd.img-2.6.28-14-generic quiet title Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode) uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5 kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa single initrd /boot/initrd.img-2.6.28-14-generic title Ubuntu 9.04, kernel 2.6.27-7-generic uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa quiet splash initrd /boot/initrd.img-2.6.27-7-generic quiet title Ubuntu 9.04, kernel 2.6.27-7-generic (recovery mode) uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=5ab5ac2f-924c-42a5-8158-d6c4504a79d5 ro xforcevesa single initrd /boot/initrd.img-2.6.27-7-generic title Ubuntu 9.04, memtest86+ uuid 5ab5ac2f-924c-42a5-8158-d6c4504a79d5 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
オフライン
例文の一ヶ所、time outの所を5秒に変更し、コピペをして、再起動したら成功しました。ありがとうございます。
例文を貼り付けた後、画面上のFDマークのアイコン、保存を押して画面を閉じて、再起動したら成功しました。お世話になります。
※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。
オフライン
はい。成功しました。回答された方、ご協力感謝します。お疲れ様です。思いやりを大切にしたいと思います。トピを閉めます。
xpを外付けHDDから復元し、2回目ですが、ウブンツをインストールしました。ルーターが熱くなると思い、途中でネット回線を外してしまいました。そしたら、ウブンツのインストールに失敗しました。その後、又、外付けHDDからxpを復元しました。そして、今度はネット回線を繋げた状態で3回目ですが、ウブンツをインストールし、成功しました。ただ、デスクトップの画面が1回目の時と違います。
その後、画面の解像度を正常にし、9.04にアップデートした後、上記のように、OSの選択順序や待ち時間を5秒にしました。その後、再起動したら、xpは起動できて使えましたが、ウブンツのどのバージョンを選択してもウブンツが起動できません。ウブンツリカバリーや古いウブンツのバージョンを選択してもウブンツが起動できません。
画面にはError 15 : file not found Press any key contitueと出てしまいます。
https://forums.ubuntulinux.jp/viewtopic.php?id=4788
似たような症状を見つけましたが、自信がないのと、読んでも難しくて分からず何もしていません。すみません。xpをインストールするときは本体に繋いでいるケーブル類を全てはずすそうですが、検索によると、ウブンツは繋げたままでインストールするんですね。ウブンツを起動できる方法を教えてください。以前解決した内容をその後の今回の投稿のような問題に使えるんでしょうか。いつも回答ありがとうございます。
補足です。
パーティション操作をし、成功しました。その後、両方のOSが起動できなくなりました。なので、xpを復元し成功し、2回目ですが、ウブンツをインストールしました。ルーターが熱くなると思い・・・・(以下本文に続けてください。)
やった操作は以下のとおりです。端末でsudo gedit /boot/grub/menu.lstを入力しました。#7の回答文のコードでタイムアウトを5秒に設定して保存し、再起動しました。再起動後、5秒でカウントダウンされ、xpは一番上に来て、操作が反映されているようです。しかし、毎回ubuntuだけ起動できず、xpは何回でも正常に起動でき、ネット接続できます。
解決できないので、ウブンツを再インストールして復旧します。それの方が初心者にとって簡単で時間を有意義に使えると思います。洗濯しながら、PCのインストールをします。前回、ウブンツにはまだ3回くらいしかログインしていないので、重要なファイルはありません。回答者の方は他の作業を続行されて下さい。時間を有意義にお使い下さい。回答者の方が、難しいコードなど、私の今回の不具合の回答案をもし、考えていたなら、ご迷惑をおかけしました。勝手にトピを閉めてすみません。
それから、いたずらで不具合を連発して投稿している訳ではないので誤解しないようお願いします。回答者を困らせていると言う投稿が過去にあったので、気になりました。ご批判は受け付けますが、PCの原因不明の不具合なので、どうすることもできません。
このOSの選択方法は私の場合、不成功か成功かわからないので、実施せず、ウブンツを運用します。トピは閉めます。
xpを80GBに復元し、その後、ubuntuを20GBインストールして4回目位だと思いますが、デュアルブートに成功しました。その後、9.04にアップデートしたり、エラーチェックをしました。ubuntuを起動し、端末から上記の新しいxpが一番上に来るコードを貼り付けて再起動したら、5秒でカウントダウンされxpは一番上に来てxpは起動できました。
しかし、ubuntuのどのバージョンを選択してもubuntuが起動できません。なので、ライブCDから起動して端末でsudo gedit /boot/grub/menu.lstを入れ#5のコードを入れて保存しましたが、元のコードに戻しましたが、エラーが出て保存できないみたいです。再起動しても前回と同じ不具合です。
又GRUBの復元
https://forums.ubuntulinux.jp/viewtopic.php?id=5600&p=1
#18 の中の1と2は実行しないで復元をしましたが改善せず、#25ネットからのGRUB復元もやリましたが、改善しません。MBRと出てきて、xpだけ起動できます。前回成功したのに、今回成功しないと言う事はあるんでしょうか。以下操作中に出てきたコードです。お世話になります。回答ありがとうございます。
it quiet read reboot root rootnoverify savedefault serial setkey setup term
inal terminfo testload testvbe unhide uppermem vbeprobe
grub>
find /boot/grub/menu.lst
(hd0,4)
grub>
root (hd0,4)
grub>
setup (hd0)
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 (hd0)"... 16 sectors are embedded
.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,4)/boot/grub/sta
ge2 /boot/grub/menu.lst"... succeeded
Done.
grub>
https://forums.ubuntulinux.jp/viewtopic.php?id=4788
リンク先の#7のように$ sudo gedit /media/disk/boot/grub/menu.lst
というコマンドで,menu.lstを開いて、以前のコード、このトピの#5をコピペして入れて保存できました。その後、再起動しましたが、xpだけ起動でき、ウブンツは起動できません。
又、リンク先の#2のように、$ sudo apt-get install startupmanagerを入れましたが、ライブCDから「システム>システム管理>StartUp-Manager」を起動したいですが、スタートアップマネージャーが見つけられません。スタートアップマネージャーはダウンロードできたみたいです。
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo apt-get install startupmanager
パッケ!依存関係ツリ!状態情報を読み添 パッケ&碯銓����刷$
上が文字化けしてますが、スタートアップマネージャーが見つかりませんと出たような気がします。
ウェブ上の検索から色々試しましたが、改善できず、ウブンツだけ起動できなくxpは起動できるようです。
再インンストールしたのなら、全文のコピペをすると起動できなくなります。
というのは、今の grub は UUID というものを使って、パーテーションを識別しています。
この UUID は再インストールしたりすると変ってしまいます。再シンストール以前の UUID は使えなくなってしまうのです。
これから作業なさる場合には#6を参照して下さい。
コード:
sudo gedit /boot/grub/menu.lstと入力して、menu.lst を開きます。
パスワードの入力が求められますので、Ubuntu のログインパスワードを入力して下さい。
~中略~
OSの表示順についてはコード:
# This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda2 title Microsoft Windows XP Home Edition root (hd0,1) savedefault makeactive chainloader +1となっている行から下全てを切り取って
### BEGIN AUTOMAGIC KERNELS LIST
という行の上に貼り付けます。
上記の変更をした上で、上書き保存して下さい。
#7はあくまで参考で、当時のものにしか有効ではありません。
grubの再インストールなど上手く行っていない様でうので、お手数ですが、Ubuntu を再インストールの上、上記手順をお願いします。
#興味があれば、以前貼りつけた menu.lst と再インストールしたmenu.lst のuuid と書かれた行を見くらべてみて下さい。違っているはずです。
オフライン
#7の例文のtime outの所を5秒にしてそっくりそのままコピペしました。そうすると失敗するんですね。今から、復旧するには、gpartedでubuntuのパーティションを削除し、ライブCDからubuntuを再インストールします。その後、#6を参照し、UUIDがと違ってるか確認します。たぶん違っていると思います。違っていたら、#6を実行してみたいと思います。
ubuntuを再インストールせず、ライブCDからメニューリストを開いて、コードを変更して、改善する事は出来ないのでしょうか。又はスタートアップマネージャー等を使って、改善する事は出来ますか。ubuntuインストール後に不具合が出ました。ubuntuは起動できないので、ライブCDで以前のコードを元に戻して改善する事は出来ないのでしょうか。インストールしているUUIDを調べて新たなコードを作成して改善するような事は出来ますか。
一度インストールしてしまうと、パスワードが設定されているので、後から起動の画面を変更したりする事は出来ないのでしょうか。今はubuntuとxpの起動を選択する画面が出てきて、xpだけ起動できます。ubuntuは選択しても起動できません。
http://lets-ubuntu.yui.at/tips/tips_recov.html#nai
私の場合はubuntuのリカバリーモードなど全てを選択しましたが、ubuntuは一つも起動できず、xpだけ起動できます。このリンク先のように、私の場合、ubuntuは復旧できないのでしょうか。そうなると回答文にあるようにubuntuを初めからライブCDを使って、インストールして復旧する方法しかないのでしょうか。
東京花子1 による投稿:
ubuntuを再インストールせず、ライブCDからメニューリストを開いて、コードを変更して、改善する事は出来ないのでしょうか。
それは,十分に使い込んでいて,重要なデータがあるために,どうしても再インストールは避けたいという状況になってから聞くべきことです。現時点でそこにこだわると,混乱して先に進めなくなります。
可能かも知れませんが,いまは再インストールして,起動できる状態にすることを優先して下さい。
再インストールが終了したら,GHOさんのアドバイスを待ちましょう。
※ GHOさん,横から失礼しました。引き続き,アドバイスをお願いします。
オフライン
東京花子1 による投稿:
http://lets-ubuntu.yui.at/tips/tips_recov.html#nai
私の場合はubuntuのリカバリーモードなど全てを選択しましたが、ubuntuは一つも起動できず、xpだけ起動できます。このリンク先のように、私の場合、ubuntuは復旧できないのでしょうか。そうなると回答文にあるようにubuntuを初めからライブCDを使って、インストールして復旧する方法しかないのでしょうか。
起動できませんね。起っている現象のレベルがちがいますので、リンク先は参考になりません。
現状 uuid が違ってしまっているので、起動に必要なものが入っている場所を見付けられないのです。
grub を再インストールすれば治ると思うのですが、一度失敗しているようなので、再インストールをすすめます。
オフライン
>grub を再インストールすれば治ると
grubの再インストールとは以下の作業で1と2を省いた物ですよね。私の場合、やってみましたが改善しません。
1,
$ sudo dd if=/dev/zero of=/dev/sda bs=512 count=1
2,
復元 -> 起動 -> OK
3,
起動しない。-> ライブCDから端末。
$ sudo grub
grub> find /boot/grub/menu.lst
(hd0,4) #<--何が表示されるかは不明、取りあえず(hd0,4)と言うことで。
grub> root (hd0,4) #↑で表示された物を。
grub> setup (hd0)
4,
再起動
>それは,十分に使い込んでいて,重要
そうですね。私のubuntuにはファイルは少しもまだ入っていません。かといって、又ubuntuの再インストールをすると時間がかかったりHDDをたくさん使わせる事になり、HDDが老朽化するかもと思います。もし、できれば、お聞きしたまでです。ここの回答者の方はスキルが高いので、解決策がもし、簡単なのがあればどうかなと思いお聞きしました。すみません。回答文のようにubuntuの再インストールをします。
後は外つけHDDからMBRを復元する方法はどうでしょうか。xpをバックアップする時、MBRもバックアップしました。そのMBRをパソコンに復元したら復旧しますか。
ところでバイン、ユーザーさん、Pay it forward!ってなんですか。
誰かに親切な行為をされたとき,その本人ではなく,他の人に恩返しするという意味です。僕は,無償で配布されているLinuxを使っているので,その開発者の方への感謝の気持ちを,このフォーラムに参加することで,開発と無関係な一般のユーザに「Pay it forward」しているのです。
東京花子1さんも,他の人にアドバイスできるようになったら,ぜひ「Pay it forward」してください。
参考:ペイフォワード 〜Pay it Forward〜 『次へ渡そう』運動
オフライン
私もスキルが上がったら思いやりの気持ちで親切な行為をしたいと思います。まだ私は初心者なので回答はできません。初心者として、他の初心者の助けになるように、より詳細で分かりやすく投稿する事が親切に当たるのかなと思います。
その後、外つけHDDからMBRをバックアップしましたが改善しません。なのでubuntuを再インストールします。ただ、次回、画面起動を変える時は間違えないようにやれば成功すると思います。トピの内容もほぼ理解できました。デルのユーティリティーパソコンとubuntuの相性とかあるんでしょうか。サイト上では皆さんGRUBの復元など成功されているみたいですが、私はなかなか成功しません。
ubuntuを少しかじってみましたが、難しいので、皆さんの言うとおりwubiをやってみます。wubiなら起動時にxpが一番上にくるそうなので安心ですね。ただ、wubiを解説されたサイトが英文だったり、GRUBを採用しているので不安です。wubiが196MB位のPCで実行できないのも残念です。回答ありがとうございます。お世話になります。