• 締切済み

Redhatのシングルユーザーモードの起動方法

GRUB上で、以下のコマンドを実行しましたが、起動しません。カーネルパニックになって止まります。 grub> kernel /boot/vmlinuz-2.6.9-42.EL ro root=LABEL=/ 1 initrd /boot/initrd-2.6.9-42.EL.img この後に・・・ grub> boot で、起動途中でカーネルパニックになってしまいます。 よろしくおねがいします。

みんなの回答

  • notnot
  • ベストアンサー率47% (4847/10260)
回答No.2

runlevelの1が途中にあってもいいのかどうかわかりませんが、私はいつも末尾に追記しています。

  • mtfoggy
  • ベストアンサー率14% (37/255)
回答No.1

Googleで検索してあげました。 シングルユーザーモードで起動するには http://www.atmarkit.co.jp/flinux/rensai/linuxtips/488bootsingle.html

関連するQ&A

  • ubuntu上でvistaの起動画面を復活させるには

    virtualboxを試そうとして無駄なパッケージをインストールしたためか、(途中で何かを最新にするという表示でOKしたと思います)vistaOSの選択画面が消えてしまい、ubuntuばかりがでてきます。その後インストールしたパッケージをすべてアンインストールしたのですが、状況は変わりません。vistaのデータはまだ生きているのですが、どうしたらvistaを起動できるようになるでしょうか。(下のように表示されています。) title Ubuntu 8.04.1, kernel 2.6.24-22-generic root (hd0,3) kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro quiet splash locale=ja_JP initrd /boot/initrd.img-2.6.24-22-generic quiet title Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode) root (hd0,3) kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro single initrd /boot/initrd.img-2.6.24-22-generic title Ubuntu 8.04.1, kernel 2.6.24-21-386 root (hd0,3) kernel /boot/vmlinuz-2.6.24-21-386 root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro quiet splash locale=ja_JP initrd /boot/initrd.img-2.6.24-21-386 quiet title Ubuntu 8.04.1, kernel 2.6.24-21-386 (recovery mode) root (hd0,3) kernel /boot/vmlinuz-2.6.24-21-386 root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro single initrd /boot/initrd.img-2.6.24-21-386 title Ubuntu 8.04.1, kernel 2.6.24-21-generic root (hd0,3) kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro quiet splash locale=ja_JP initrd /boot/initrd.img-2.6.24-21-generic quiet title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode) root (hd0,3) kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro single initrd /boot/initrd.img-2.6.24-21-generic title Ubuntu 8.04.1, kernel 2.6.24-16-generic root (hd0,3) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro quiet splash locale=ja_JP initrd /boot/initrd.img-2.6.24-16-generic quiet title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode) root (hd0,3) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro single initrd /boot/initrd.img-2.6.24-16-generic title Ubuntu 8.04.1, kernel 2.6.22-14-generic root (hd0,3) kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro quiet splash locale=ja_JP initrd /boot/initrd.img-2.6.22-14-generic quiet title Ubuntu 8.04.1, kernel 2.6.22-14-generic (recovery mode) root (hd0,3) kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro single initrd /boot/initrd.img-2.6.22-14-generic title Ubuntu 8.04.1, memtest86+ root (hd0,3) 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 title Ubuntu 8.04, kernel 2.6.24-16-generic root (hd0,3) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro quiet splash locale=ja_JP initrd /boot/initrd.img-2.6.24-16-generic quiet title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) root (hd0,3) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro single initrd /boot/initrd.img-2.6.24-16-generic title Ubuntu 8.04, kernel 2.6.22-14-generic root (hd0,3) kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro quiet splash locale=ja_JP initrd /boot/initrd.img-2.6.22-14-generic quiet title Ubuntu 8.04, kernel 2.6.22-14-generic (recovery mode) root (hd0,3) kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f7fabd13-d105-4d31-9223-700df6398ce0 ro single initrd /boot/initrd.img-2.6.22-14-generic title Ubuntu 8.04, memtest86+ root (hd0,3) kernel /boot/memtest86+.bin quiet

  • VMWare上のkernel再構築

    VMWare 上のRedHat9でカーネルの再構築(練習)で失敗しています。お助けください。 現在のカーネル2.4.20に2.4.23を追加する。 make mrproper make menuconfig make bzImage make modules make modules_install 以上完了 /boot/grub/grub.confは次のようになっています # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/hda2 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.20-8) root (hd0,0) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi initrd /initrd-2.4.20-8.img これに追加して title Red Hat Linux (2.4.23) root (hd0,0) kernel /vmlinuz-2.4.23 ro root=LABEL=/ hdc=scsi initrd /initrd-2.4.20-8.img を記述して再起動し2.4.23を選択するとdmssgの途中で NET4:Unix domain sockets1.0/SMP for Linux NET4.0 ds:no socket driver loaded VFS:Cannot open root device "/LABEL=/" or 00:00 Kernel panic:VFS:Unable to mount root fs on 00:00 で停止します。 kernel /vmlinuz-2.4.23 ro root=/dev/hda1 (註/bootパーティション) としてもdmesgは停止位置はほぼ同じで内容は以下のとおりです。 Kernel panic:No init found.Try passing=option to karnel 何かヒントを頂けるとありがたいのですが・・・よろしくお願いします。

  • grubのエラーについて

    ブートローダ修復時に、以下のようなエラーになってしまいます。 # chroot /mnt/sysimage # grub-install --root-directory=/ /dev/cciss/c0d0 上記のコマンドを打つと 「エラー:/dev/cciss/c0d0:not found or not a block device」 になってしまいます。 chroot すると、/dev/ccissを認識しないようです。 どのように認識させたらよいかご存知でしょうか。 ○/mnt/sysimage/boot/grub/device.map # this device map was generated by anaconda (fd0) /dev/fd0 (hd0) /dev/cciss/c0d0 ○/mnt/sysimage/boot/grub/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/cciss/c0d0p7 # initrd /initrd-version.img #boot=/dev/cciss/c0d0 default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Enterprise Linux ES (2.6.9-42.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-42.ELsmp.img title Red Hat Enterprise Linux ES (2.6.9-42.EL) root (hd0,0) kernel /vmlinuz-2.6.9-42.EL ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-42.EL.img よろしくお願いします。

  • centOSとwindowsの順番を逆にしたい

    2度目の質問になります。matyuといいます、よろしくお願いいたします。 CドライブにwindowsXPがインストールされており、後から増設したDドライブにcentOS5をインストールしてgrubにてデュアルブートさせておりますが、優先して起動するOSがcentOSになっています。 優先して起動するOSをwindowsにする場合は下記grub.confのどこをどのように書き換えればいいのでしょうか。 # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hdd default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-8.el5) root (hd0,0) kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-8.el5.img title WindowsXP map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) chainloader +1

  • GRUBでOSの選択画面が出ない

    今、大学生協で買ったdynabookSS MX25Aを使っています。 もともとWindowsXPとVineLinuxが入っていて GRUBでOSを選択するようになっていたのですが、 WindowsXPが起動しなくなってしまったので、 PowerX Hard Disc Manager7を使って リカバリーをかけました。 (バックアップを取ったのは買った時です) そうしたら今度は起動した時 GRUBの選択画面(WindowsかLinuxか)が 出ず grub>のコンソールだけ出るようになってしまいました。 Knoppixで立ち上げてみたところ Windowsのパーティション(NTFS)も Linuxのパーティション(Ext3)も認識しますし 中身もきちんとリカバリー出来ているように思います。 どうやったら元のようにOSを選択して 起動できるようになるのでしょうか? 生協に行けば済むかもしれませんが 家の都合で今行けないんです。。。 パーティションの構成↓ 1.WindowsXP(NTFS) 2.VineLinux(Ext3) 3.?(LinuxSwapと出ています) 4.?(WindowsXPのアプリ用領域) 2番目のVineLinuxの/boot/grub/grub.confには #menu.lst generated by anaconda # # Note that you do not have to rerun grub after changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and inited paths are relative to /, eg. # root(hd0,2) # kernel /boot/vmlinuz-version ro root=/dev/sda3 # initrd /boot/initrd-version.img default=1 timeout=10 title Windows rootnoverify (hd0,0) chainloader +1 title VineLinux root(hd0,2) kernel /boot/vmlinuz ro root=LABEL=/ resume2=swap:/dev/sda5 vga=0x314 hdc=ide-scsi initrd /boot/initrd.img #title VineLinux (Previous kernel) # root (hd0,2) # kernel /boot/vmlinuz.old ro root=LABEL=/ resume2=swap:/dev/sda5 vga=0x314 # initrd /boot/initrd.old.img と書いてあります。

  •  XPにデュアルブートでubuntuをインストールしたのですが 起動メニューの編集がよくわかりません。 

    title Ubuntu 8.10, kernel 2.6.27-7-generic uuid 28dc3754-f4f7-4993-97b3-37321087d498 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=28dc3754-f4f7-4993-97b3-37321087d498 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 28dc3754-f4f7-4993-97b3-37321087d498 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=28dc3754-f4f7-4993-97b3-37321087d498 ro single initrd /boot/initrd.img-2.6.27-7-generic title Ubuntu 8.10, memtest86+ uuid 28dc3754-f4f7-4993-97b3-37321087d498 kernel /boot/memtest86+.bin quiet インストールを安易にしてしまったため title にwindows がありません。xpを起動させる 文字列 教えてくださいませ。宜しくお願いいたします。

  • grubでkernel panic

    DELLノートにXPとVine2.6のデュアルブートをしたいのですが,grubでLinuxを起動できません. インストールではliloをMBRではなくBOOTに書き込んでいます. つまり,先にXPを起動できるようにしてから次にgrubでLinuxを起動させる手順を選択しております. デュアルブートの解決方法などを教えていただけませんでしょうか? …以下、症状です… 僕は hda1: DELL hda2: NTFS hda3: ext3 hda4: extenstion hda5: ext3 hda6: swap でhda3にBOOT,hda5に本体を置いてるので  grub> root (hd0,2)  grub> kernel /vmlinuz root=/dev/hda3  grub> boot だけだと kernel panic: no init found Try passing it=option to kernel と怒られますので bootの直前に  grub> root (hd0,4)  grub> initrd /initrd/initrd.img としようとするのですが、initrd.imgがありません.  grub> root (hd0,2) と打つと Filesystem type is ext2fs, partision type 0x83 と帰ってきますが,   ^ ext3fsでないのが気になります. 再インストールしてliloをMBRに書き込んでから 先にLinuxを起動できるようにして, 次にgrubでXPを起動させる方が簡単でしょうか?

  • GRUBでOSのトリプルブートが出来ない

    Linuxを始めたばかりの高校生です。 マシンはWin7、64bitの入ったものでマスターHDDはWin7に、スレーブHDDにはSwap,CentOS 5.4, Fedora 12をパーティションを切って入れました。 ところが、GRUBのメニューで選択すると先に入れたLinux OSが起動しません。「Error 15 File not found Press any key to continue......」なるメッセージです。後から入れたものは問題なく起動します。当然Win 7の起動はいずれもOKです。つまりデユアルブートなら問題ありません。 grub.confの内容は以下の通りです。(Fedora 12の場合) default=0 timeout=10 splashimage=(hd1,0)/boot/grub/splash.xpm.gz #hiddenmenu title CentOS 5.4 (2.6.18-164.11.1.el5) root (hd1,0) kernel /boot/vmlinuz-2.6.18-164.11.1.el5 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18-164.11.1.el15.img title Fedora 12 (2.6.31.5-127.fc12.x86_64) root (hd1,2) kernel /boot/vmlinuz-2.6.31.5-127.fc12.x86_64 ro root=UUID=799e26d1-a3e4-49c6-964d-c0801241d7d9 LANG=ja_JP.UTF-8 KEYBOARDTYPE=pc KEYTABLE=jp106 rhgb quiet initrd /boot/initramfs-2.6.31.5-127.fc12.x86_64.img title WINDOWS 7 rootnoverify (hd0,1) chinloader +1 Error 15の理由がgrub.confの記述のやり方が悪いのか検索で調べましたがまだ判っておりません。 どうか解決策を教えて下さい。

  • BIOSの更新?

    パソコンにFedra Core 6をインストールして再起動したところで、黒い画面に ANALOG OUT OF RANGE 74.9kHz / 60 Hz とだけ出て、他には何も映りませんでした。 再起動させて、出てきたFedra Coreの画面で適当にスペースキーを押して、 grub edit> kernel /vmlinuz-2.6.188-1.2798.fc6.ro root=LABEL=/1 rhgb quiet となっている部分を grub edit> kernel /vmlinuz-2.6.188-1.2798.fc6.ro root=/dev/sda1 vga=794 と変更して、ブートしました。  しかし、今度は途中で次のようなコメントを最後に止まってしまいます。 Kernel panic - not syncing: Attempted to kill int! 調べてみると、BIOSが更新されていないからではないかというぼんやりとした疑問が出るだけで、行き詰まってしまいました。 どのようにすれば、ユーザー名とパスワードを入れる画面まで進み、通常通りLinuxを使用することができるのか、よろしくお願いします。

  • 「Linux(CentOS)でGRUB読み込み後起動しない」

    「Linux(CentOS)でGRUB読み込み後起動しない」 現在CentOSを利用しているのですが、下記のメッセージ後起動しない状態となっており、非常に困惑しております。 root (hd0,0) Filesystem type is ext2fs, partion type 0x83 kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=LABEL=/ rhgb quiet [Linux-bzImage, setup=0x1e00, size=0x1c3fb4] initrd /initrd-2.6.18-164.11.1.el5.img [Linux-initrd @ 0x37d84000, 0x26bcb5 bytes] GRUB画面が表示されない状態であればGRUBを修復するなど、対処方法も分かるのですが、GRUBを読んだ後上記が表示され、画面に何も表示されないので、原因も分からない状態です。 なお、HIGHPOINTのRocketRAIDでRAID構築をしていますが、システムが別のHDDに入っていることや、事前にちゃんと起動していましたので、これが原因とはあまり思えません。 また、"rhgb quiet"をはずしても、やはり同様の状態で停止します。 この状態からの復旧方法など、アドバイス程度でも結構ですので、ご教授頂ければ幸いです。