grub-install 到sata移动硬盘的结果
Due to a bug in xfs_freeze, the following command might produce a segmentation
fault when /media/usbdisk/boot/grub is not in an XFS filesystem. This error is harmless and
can be ignored.
Installation finished. No error reported.
This is the contents of the device map /media/usbdisk/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/hdd
(hd1) /dev/sda
配置menu数次失败
研究好久发现
用(hd1,0)才可以启动
但是!!!ptptptpt那种方法在我这里有点问题:
从iso解压出来原版initrd.gz
用ptptptptpt的方法解压 cpio
然后做出来一个定制过的initrd.686m.gz
但是!!
我遇到了极其遗憾 白痴的问题:
我用gaoxing的方法让610从硬盘启动
启动后开始工作
我把东西解压在一个fat32分区上面
做出一个initrd.686m.gz
然后sudo cp到/meida/usbdisk/boot/grub里面。。
但是!!!!!
奇怪啊!!!
每次cp以后
都发现cp过去的文件名字显示为红色!用窗口察看发现带了一个红色的叉。这种文件无法在grub里面工作,我输入代码一行一行来,系统都不认这种文件。
这是什么问题?奇怪啦!!!!!!
实在没有办法!!
但是貌似原版可以cp到那个目录里面
用原版启动后提示:
can`t access tty
job control turned off
所以。。。很着急。。我就想弄一个定制过的initrd。定制可以解决can`t access tty job control turned off 的问题么?
下面的是原帖
估计要看完所有楼层你才能明白我是如何发现问题解决问题的。。但是到现在我还是没有完全解决问题![/size]
呵呵,昨天安装好了,尝试了好多次,系统都不允许安装grub到移动硬盘,没办法我只好安装到电脑然后fdisk /mbr。今天开始安装grub到移动硬盘,sata接口,结果:
代码: 全选
Due to a bug in xfs_freeze, the following command might produce a segmentation
fault when /media/usbdisk/boot/grub is not in an XFS filesystem. This error is harmless and
can be ignored.
Installation finished. No error reported.
This is the contents of the device map /media/usbdisk/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/hdd
(hd1) /dev/sda
代码: 全选
timeout 6
default 0
fallback 1
title mobile ubuntu
kernel (sd0,0/boot/vmlinuz-2.6.17-10-generic boot=casper ramdisk_size=1048576 root=/dev/ram rw splash debian-installer/locale=zh_CN
initrd (sd0,0/boot/initrd.686m.gz
title mobile ubuntu xforcevesa
kernel (sd0,0/boot/vmlinuz-2.6.17-10-generic boot=casper xforcevesa ramdisk_size=1048576 root=/dev/ram rw splash debian-installer/locale=zh_CN
initrd (sd0,0/boot/initrd.686m.gz
所以创建了ubuntu .ubuntu两个
代码: 全选
.
..
abi-2.6.17-10-generic
boot
config-2.6.17-10-generic
grub
initrd.img-2.6.17-10-generic
lost+found
memtest86+.bin
System.map-2.6.17-10-generic
ubuntu
.ubuntu
vmlinuz-2.6.17-10-generic
grub stage 1.5
error 23
请大家帮忙。。。
我的menu有问题?