一些grub引导

[code]title Ubuntu, kernel 2.6.15-23-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb2 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
savedefault
boot

title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb2 ro single
initrd /boot/initrd.img-2.6.15-23-386
boot

title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
boot

title Slackware 12
rootnoverify (hd0,3)
kernel /boot/vmlinuz root=/dev/hdb4

# (0) Arch Linux
title Arch Linux
root (hd0,3)
kernel /boot/vmlinuz26 root=/dev/sda4 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title Arch Linux Fallback
root (hd0,3)
kernel /boot/vmlinuz26 root=/dev/sda4 ro
initrd /boot/kernel26-fallback.img

title Gentoo 2007
kernel (hd0,4)/isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot vga=791 splash=silent,theme:livecd-2007.0 CONSOLE=/dev/tty1 nox
initrd (hd0,4)/isolinux/gentoo.igz

title ArchLinux Install
kernel (hd0,4)/boot/vmlinuz
initrd (hd0,4)/boot/initrd.img


title Install Slackware
kernel (hd0,4)/slkboot/bzImage load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s
initrd (hd0,4)/slkboot/initrd.img

splashimage=(hd0,3)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,3)
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb4
initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
[/code]

[code]
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.19-r5
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5

# 只有在双启动的情况下才需要以下内容
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1


# emerge grub
# nano -w /boot/grub/grub.conf
# grub-install /dev/hda
[/code]

[code]
Device Boot Start End Blocks Id System
/dev/hda1 * 1 14 105808+ 83 Linux
/dev/hda2 15 81 506520 82 Linux swap
/dev/hda3 82 3876 28690200 83 Linux

# mke2fs /dev/hda1 ——以ext2文件系统格式化分区1
# mke2fs -j /dev/hda3 ——以ext3文件系统格式化分区3
# mkswap /dev/hda2 ——以linux swap文件系统格式化分区2
# swapon /dev/hda2 ——激活交换分区


1、Device Drivers-->SCSI device support-->SCSI low-level drivers-->BusLogic SCSI support(使用SCSI hard disk时必须)
2、File systems-->Reiserfs support(安装gentoo手册把/分区设为Reiserfs的话必须)
3、File systems-->DOS/FAT/NT Filesystems-->NTFS file system support(若要支持NTFS分区)
4、File systems-->Native Language Support-->Simplified Chinese charset (CP936, GB2312)(支持简体中文)
5、File systems-->Native Language Support-->Traditional Chinese charset (Big5)(支持繁体中文)

[/code]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值