Linux试用(1)硬盘安装fedora core 12.
一开始安装了ubuntu,结果居然没有中文输入法,对我这样的菜鸟级人物,弄了半天也不知道怎么安装,于是作罢。改装FCFC的硬盘安装还是比较容易地,主要参考了一片文章,很顺利
1.下载Fedora10官方发布的镜像文件Fedora-12-i386-DVD.iso, size大概3
GB,放到fat32盘根目录下
2.解压该文件内isolinux/initrd.img和vmlinuz复制到C盘的根目录下
3.下载一个GRUB4DOS压缩包,解压grldr与menu.lst放到C盘根目录下,修改menu.lst
修改menu.lst,在menu.lst最后加上
title Install Fedora
kernel (hd0,0)/vmlinuz
initrd (hd0,0)/initrd.img
4.修改c:\boot.ini
在最后面加上
c:\grldr=GRUB
5.重启选择GRUB,再选择Install Fedora 就进入安装界面了
6.安装时有一部需要选择安装文件路径,这里可能需要挨个试一下哪个是Fedora-12-i386-DVD.iso所在的盘符,镜像文件所在的路径为/
按装完后,发现很多东东跟windows比是不大好用,主要有
- 浏览文件夹的ui太难用了,跟windows的资源管理器比差多了
- 系统时间怎么不对阿,好像是时区问题?还没弄好
- 居然播放不了mp3文件。。。说是需要gstreamer插件。郁闷,下载了个http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.30.tar.gz,./configure, make, make install之后似乎还没好。。
-安装后的grub配置文件在 /boot/grub/menu.1st
代码
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/sda7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686.PAE)
root (hd0,6)
kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=UUID=9c0f2abb-0f94-4e1a-b154-cf3dd1c28ef8 LANG=zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.31.5-127.fc12.i686.PAE.img
title Other
rootnoverify (hd0,0)
chainloader +1
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/sda7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686.PAE)
root (hd0,6)
kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=UUID=9c0f2abb-0f94-4e1a-b154-cf3dd1c28ef8 LANG=zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.31.5-127.fc12.i686.PAE.img
title Other
rootnoverify (hd0,0)
chainloader +1
安装后系统情况
cutepig@cutepig-laptop:~$ sudo fdisk -l
[sudo] password for cutepig:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 5100 20482875 7 HPFS/NTFS
/dev/sda3 5101 7522 19454715 5 Extended
/dev/sda4 7523 9729 17727724 c W95 FAT32 (LBA)
Partition 4 does not end on cylinder boundary.
/dev/sda5 5101 7157 16522821 83 Linux
/dev/sda6 7158 7522 2931831 82 Linux swap / Solaris
[sudo] password for cutepig:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 5100 20482875 7 HPFS/NTFS
/dev/sda3 5101 7522 19454715 5 Extended
/dev/sda4 7523 9729 17727724 c W95 FAT32 (LBA)
Partition 4 does not end on cylinder boundary.
/dev/sda5 5101 7157 16522821 83 Linux
/dev/sda6 7158 7522 2931831 82 Linux swap / Solaris
cutepig@cutepig-laptop:~$ sudo mount -l
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/cutepig/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=cutepig)
/dev/sda1 on /media/c type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) [c]
/dev/sda2 on /media/d type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) [d]
/dev/sda4 on /media/F type vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) [F]
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/cutepig/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=cutepig)
/dev/sda1 on /media/c type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) [c]
/dev/sda2 on /media/d type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) [d]
/dev/sda4 on /media/F type vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) [F]
- 上一篇 Linecnt
- 下一篇 Linux试用(2)安装 mplayer, g++.