我试图在戴尔PowerEdge C6145的一个节点上安装12.04服务器,其规范如下:
48 cores
512GB RAM
LSI MegaRAID 9265 controller
4x2TB disks, configured with RAID5 giving 6TB in total
American Megatrends v02.69 BIOS使用UbuntuServer12.04.2LTS“精确穿山甲”从USB引导-启动amd64 (20130214)专家模式(使用F6)并对Ubuntu服务器进行干净安装
这是一个标准的安装,除了手动磁盘。我在磁盘上创建了一个新的空gpt分区表,并添加了三个分区:
#1 10MB, beginning of disk, /boot, Reserved BIOS boot area
#2 512GB, end of dist, /swap, swap area
#3 max, /, Mount point: /, Mount options: defaults, label: data
Summary:
SCSI6 (2,0,0) (sda) - 6.0 TB LSI MR9265-8i
1.0 MB FREE SPACE
#1 9.4 MB f biosgrub /boot
#3 5.5 TB f ext4 / /
#2 512.0 GB f swap /swap swap
1.0 MB FREE SPACE我选择quantal作为要安装的内核,当被要求选择要包含在initrd中的驱动程序时,我选择了“”。
关于其他软件:
Restricted software: No
Software from universe component: Yes
Softare from multiverse component: No
Backported software: Yes在安装GRUB引导加载程序时,选择Yes将其安装到主引导记录中。没有产生错误,安装程序跳过主菜单中的下一项“继续,没有引导加载程序”。
在“完成安装”时,标准消息显示安装完成,然后重新启动。
在重新启动时,得到:
error: out of disk.
grub rescue>键入ls
(hd0) (hd0, gpt3) (hd0,gpt2) (hd0,gpt1)键入ls (hd0,gpt3)
error: bad filename.键入ls (hd0,gpt2)
error: unknown filesystem.键入ls (hd0,gpt1)
error: unknown filesystem.从ubuntu USB重新启动并选择救援系统:经过各种步骤,直到进入救援模式
选择/dev/sda3 3作为被选中的根文件系统,在/dev/sda3 3中执行一个shell
$df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 5316685816 901368 5047839028 1% /
devtmpfs 264147596 0 264147596 0% /dev
/dev/sdb1 5316685816 901368 5047839028 1% /media/cdrom
devpts 264147596 0 264147596 0% /dev/pts
none 52837212 212 52837000 1% /runls /boot显示initrd.img-3.5.0-23-泛型和vmlinuz-3.5.0-23-泛型和填充的grub目录,包括grub.cfg。而且/etc/默认/grub看起来也是合理的
回到安装程序中,选择“重新安装GRUB引导加载程序”,选择/dev/sda,没有产生错误或消息
再次重新启动系统,我仍然得到相同的“错误:离开磁盘”的grub错误。
再次从USB启动并选择“拯救一个损坏的系统”。经过不同的步骤,直到“进入救援模式”达到。选中“在/dev/sda3 3中执行shell”
运行“grub-install/dev/sda”并得到消息:
Installation finished. No error reported运行了“更新-grub”并得到:
Generating grub.cfg...
Found linux image: /boot/vmlinuz-3.5.0-23-generic
Found initrd image: /boot/initrd.img-3.5.0-23-generic
Found memtest86+ image: /boot/memtest86+.bin
done重新启动仍然会产生相同的“错误:离开磁盘”的grub错误。
很抱歉这么长时间。任何帮助都是非常感谢的。
基兰
grub rescue>提示符中的一些其他细节。输入集提供:
prefix=(hd0,gpt3)/boot/grub
root=hd0,gpt3键入ls /或ls (hd0,gpt3)/表示:
./ ../ lost+found/ etc/ media/ initrd.img var/ lib/ usr/ proc/ dev/ run/ root/ tmp/ home/ mnt/ sbin/ bin/ lib64/ selinux/ sys/ srv/ opt/ umlinuz没有/boot目录。键入ls (hd0,gpt3)/root/表示:
./ ../ .profile .bashrc但是键入ls (hd0,gpt3)/etc/
error: out of disk.与其他目录有类似的混合结果。
发布于 2013-03-14 15:40:53
生物/boot和/boot分区是两种不同的东西。生物must分区只需1MB,不得安装在任何地方。一个/boot分区需要更像150-200MB,并且格式化为一个文件系统,比如ext4。您可以尝试重新安装一个biosgrub和一个200 MB的/boot分区,看看是否修复了它。或者尝试引导grub救援cd并运行ls -l来查看bios报告磁盘大小的大小。这可能是大型that生物对其生物大小有限制。
https://askubuntu.com/questions/267760
复制相似问题