佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1353|回复: 14

RAID0 的难题

[复制链接]
发表于 31-10-2012 11:27 PM | 显示全部楼层 |阅读模式
求帮忙看看。。。

Give up waiting for root device. Common problems:
-boot args (cat.proc/cmdline)
    -check root delay=(did the system wait long enough?)
    -check root=(did teh system wait for the right device?)
-miss modules (cat/proc/modules;ls/dev)
ALERT! /dev/disk/by-uuid/5242458a-4d4d-478a-b225-c5a60612ae89 does not exist.dropping to a shell!

busybox v1.13.3 (ubuntu 1:1.13.3-lubuntu11)bulit-in shell (ash).
enter 'help' for a list of built-in commands

我的是走RAID0 ubuntu 10.04 的啊。。。找过其他的贴讲按exit 就会进入系统,不过我的还是走回1样的东西。。。



我的grub.cfg setting
==========


#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd3,2)'
search --no-floppy --fs-uuid --set 5242458a-4d4d-478a-b225-c5a60612ae89
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 04cb86fa-de95-46e6-8ca3-196f3c2f8bc9
set locale_dir=($root)/grub/locale
set lang=C.UTF-8
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd3,1)'
    search --no-floppy --fs-uuid --set 04cb86fa-de95-46e6-8ca3-196f3c2f8bc9
    linux    /vmlinuz-2.6.32-38-generic root=UUID=5242458a-4d4d-478a-b225-c5a60612ae89 ro   quiet splash
    initrd    /initrd.img-2.6.32-38-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd3,1)'
    search --no-floppy --fs-uuid --set 04cb86fa-de95-46e6-8ca3-196f3c2f8bc9
    echo    'Loading Linux 2.6.32-38-generic ...'
    linux    /vmlinuz-2.6.32-38-generic root=UUID=5242458a-4d4d-478a-b225-c5a60612ae89 ro single
    echo    'Loading initial ramdisk ...'
    initrd    /initrd.img-2.6.32-38-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd3,1)'
    search --no-floppy --fs-uuid --set 04cb86fa-de95-46e6-8ca3-196f3c2f8bc9
    linux16    /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd3,1)'
    search --no-floppy --fs-uuid --set 04cb86fa-de95-46e6-8ca3-196f3c2f8bc9
    linux16    /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###



check 出来的东西,

ubuntu@ubuntu:/dev/disk/by-id$ ls
ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33610580   raid-isw_chggjebcae_UBUNTU-part1
ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW34129984   raid-isw_chggjebcae_UBUNTU-part2
dm-name-isw_chggjebcae_UBUNTU               raid-isw_chggjebcae_UBUNTU-part3
dm-name-isw_chggjebcae_UBUNTU1              raid-isw_chggjebcae_UBUNTU-part4
dm-name-isw_chggjebcae_UBUNTU2              scsi-SATA_WDC_WD1003FBYX-_WD-WCAW33610580
dm-name-isw_chggjebcae_UBUNTU3              scsi-SATA_WDC_WD1003FBYX-_WD-WCAW34129984
dm-name-isw_chggjebcae_UBUNTU4              usb-_USB_DISK_2.0_07B216073690A940-0:0
dm-uuid-DMRAID-isw_chggjebcae_UBUNTU        usb-_USB_DISK_2.0_07B216073690A940-0:0-part1
dm-uuid-part1-DMRAID-isw_chggjebcae_UBUNTU  usb-_USB_DISK_2.0_07B216073690A940-0:0-part2
dm-uuid-part2-DMRAID-isw_chggjebcae_UBUNTU  wwn-0x50014ee25ca123c5
dm-uuid-part3-DMRAID-isw_chggjebcae_UBUNTU  wwn-0x50014ee2b1acf3a8
dm-uuid-part4-DMRAID-isw_chggjebcae_UBUNTU
ubuntu@ubuntu:/dev/disk/by-id$ cd ..
ubuntu@ubuntu:/dev/disk$ cd by-path
ubuntu@ubuntu:/dev/disk/by-path$ ls
pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0        pci-0000:00:1f.2-scsi-4:0:0:0
pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0-part1  pci-0000:00:1f.2-scsi-5:0:0:0
pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0-part2
ubuntu@ubuntu:/dev/disk/by-path$ cd ..
ubuntu@ubuntu:/dev/disk$ cd by-uuid/
ubuntu@ubuntu:/dev/disk/by-uuid$ ls
04cb86fa-de95-46e6-8ca3-196f3c2f8bc9  8b4b6f84-2354-4427-a803-e0dd3b56ad67  FC11-0081
44adaedb-f6cb-420b-98c1-34b1e32f1673  95ee55b7-d060-40e4-aba2-bfe228240452
5242458a-4d4d-478a-b225-c5a60612ae89  d23f75eb-73f9-477c-934e-15701474f479
ubuntu@ubuntu:/dev/disk/by-uuid
* 本帖最后由 C@RI 于 3-11-2012 09:40 AM 编辑

回复

使用道具 举报


ADVERTISEMENT

发表于 2-11-2012 07:43 AM | 显示全部楼层
不是很明白。
你是要装有问题还是跑busybox 遇到问题。。。。
回复

使用道具 举报

 楼主| 发表于 2-11-2012 09:07 PM | 显示全部楼层
可以安装完毕呀。。。不过当reboot就酱了哦。
回复

使用道具 举报

发表于 3-11-2012 09:30 AM | 显示全部楼层
你用CD-ROM安装 OR wubi?
回复

使用道具 举报

 楼主| 发表于 3-11-2012 09:37 AM | 显示全部楼层
我是用usb安装ubuntu (试了10。04 和12。04)
我的电脑是用raid 是Intel rapid raid 板是Asus P8Z77-M
硬盘是 WE RE41TB x 2个
只是安装ubuntu 欧。
回复

使用道具 举报

发表于 3-11-2012 10:21 AM | 显示全部楼层
不要用USB,用CD-ROM。
回复

使用道具 举报

Follow Us
 楼主| 发表于 3-11-2012 10:30 AM | 显示全部楼层
酱要用什么版本CD哦?alternate 还是一般的版本??
有分别的呀?全部都是用ISO作出到的哦?
so far 我都用usb来boot 安装ubuntu的哦。。。不过是单1硬盘。
不过现在安装raid双硬盘才出事。。。
本帖最后由 C@RI 于 3-11-2012 10:38 AM 编辑

回复

使用道具 举报

发表于 3-11-2012 07:19 PM | 显示全部楼层
用alternate CD。

Requirements

    If you're building a server, the server install CD includes the necessary options.

    If you're building a desktop then you need the "Alternate" install CD for Ubuntu. Read Getting Ubuntu Alternate Install disk and How to do a Ubuntu Alternate Install

    How to Burn an ISO
    At least 2 hard drives, preferably same size


https://help.ubuntu.com/community/Installation/SoftwareRAID

安装视频
http://www.youtube.com/watch?fea ... d&v=-x2rZe2Z9as
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 4-11-2012 10:57 AM | 显示全部楼层
谢谢,
不过问题是他们教的是看到…2个硬盘,
我的电脑只看到…1个硬盘Serial ATA raid isw_bejgdeddea_UBT (stripe)
Linux device-mapper (stripe),(我的bios已经set RAID了,是不是酱set)还是不明白哦,
他讲要割两个一样的分区,
酱我怎样割哦?
回复

使用道具 举报

发表于 4-11-2012 11:51 AM | 显示全部楼层
我的电脑只看到…1个硬盘Serial ATA raid isw_bejgdeddea_UBT (stripe)

你的硬盘已经是raid了...
你是不是用了motherboard的raid把硬盘给整成raid了?如果是那样自然只看得到一块硬盘。
回复

使用道具 举报

 楼主| 发表于 4-11-2012 12:46 PM | 显示全部楼层
是呀,我用板作raid,酱应该怎么分区哦?
回复

使用道具 举报

 楼主| 发表于 4-11-2012 12:48 PM | 显示全部楼层

哪个grub应该放哪里哦?
我割4个分区
/BOOT

/HOME
SWAP
回复

使用道具 举报

发表于 4-11-2012 03:20 PM | 显示全部楼层
hardware raid的话就要看是不是supported的raid。http://www.ubuntu.com/certification/catalog/category/RAID/

用liveCD试试,看能不能mount。分区和普通安装一样或据你的喜好。
回复

使用道具 举报

发表于 4-11-2012 08:28 PM | 显示全部楼层
如果问题还没解决的话,
你也可以选择把问题简化,就是删了硬体raid,转而使用linux制作软raid。
一般自带组raid功能的主机板,能够通过hotkey进入raid的分区管理,你可以在里面移除它。
回复

使用道具 举报

 楼主| 发表于 5-11-2012 09:35 PM | 显示全部楼层
搞掂了!在分区哪set boot ON 在我的/boot
和grub 在 mapper/isw_XXX (最短哪个)
哈哈哈!谢谢。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 3-6-2024 11:37 AM , Processed in 0.068720 second(s), 28 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表