win7系统下安装linux6,安装win7和centos6.7双系统 记录

之前一直是在win7系统上的virtualbox上安装centos中学习linux系统,但无奈本性能跟不上,开着虚拟机有点卡,并且一直没有怎么认真学习linux,现在寒假在家决定认真学习linux,安装双系统。

下面是我的安装记录:在网易开源镜像站下载了centos6.7的镜像,地址http://mirrors.163.com/centos/6.7/isos/x86_64/ 中下载了CentOs-6.7-x86_64-bin-DVD1.iso和CentOs-6.7-x86_64-bin-DVD2.iso 一个是系统安装镜像,一个是安装包。

准备空闲的磁盘分区,可以使用diskgenius来分区,分出一个空闲分区,我分出的空闲分区大小是80G

准备ext3文件系统分区,用来存放安装系统的镜像,因为Linux系统能识别Windows下的FAT32文件系统,不能识别windows下的NTFS文件系统,所以要准备好ext3文件系统,使用软件pqmagic,在空闲分区上继续创建分区,选择的新的分区的文件系统为linux ext3,分区的大小不用很大,我分了10G。

软件的具体的操作就不在这里详述。

加载ext3分区到wind7系统中,需要使用Ext2fsd加载ext3分区。打开ext2fsd软件后,在第3步中创建的ext3分区上右键选择配置文件系统,这个时候关键点是ext2fsd驱动现在显示的应该是未启用,点击启用按钮,会显示driver could not be started,主要原因是win7 64位系统为了系统安全,限制所有的驱动必须要有数字签名认证,ext2fsd驱动现在无法启动,需要卸载了ext2fsd软件,然后重启系统通过按F8键,选择禁止驱动程序签名强制选项进入系统,然后安装软件,启动ext2fsd驱动程序。继续刚才的步骤选择支持Ext3的写操作,更改并退出。

把iso镜像文件存放到ext3分区中,并且要把dvd1中的p_w_picpaths和isolinux文件夹解压出来放到ext3分区中。

安装wingrub通过Partion list查看刚才ext3分区的编号,我的是hd0,4

安装easybcd,添加启动项,添加新条目,选择neogrub 安装 配置

kernel (hd0,4)/isolinux/vmlinuz

initrd  (hd0,4)/isolinux/initrd.img

重启系统,开始正式安装centos,选择neogrub引导加载器,然后选择centos 进入了安装,中间过程不再详述,挑选其中的关键部分叙述:

分区部分,创建了swap分区,作用是提高服务器性能,但是和windows的虚拟分区不一样,linux中的swap分区是在物理分区都用完时才会使用swap分区,分区的大小选择,在网上看到的规则是:物理内存小于2G时就分物理内存的两倍大小,物理内存大于2G时和物理内存大小差不多就行,但是分区大小不能小于512MB。根分区大小分了60G。

我在选择boot loader 安装的位置时选择了根分区,没有弄boot分区

重启电脑,进入win7系统,在easybcd中更新negogrub配置的menulist加入了grub命令

title CentOS

root (hd0,6)

kernel /boot/vmlinuz-2.6.XXXX ro root=UUID=XXXXXXX

initrd /boot/initrd.img-2.6.XXXXXX

这样采用的时每次重启用neogrub引导加载centos系统的,同时学习了一些grub命令。

在选择boot loader时选择的时MBR时担心会造成win7无法启动,其实是可以的 centos 6.7只是修改 mbr 而不会覆盖win7的启动引导,但是win7会覆盖MBR造成centos引导被覆盖,这时可以通过我在第8步骤中使用neogrub引导centos的方法,在重装win7系统时就会出现这样的情况,造成centos无法启动。

我了解到的时centos7会覆盖win7在MBR中的引导,这种情况可以在centos中修改配置添加win7引导条目。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
可以读写Ext2,以Ext2方式挂载Ext3文件系统(不支持Ext3日志),不支持中文! It provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux Ext2 volumes (read access andwrite access). This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer. What features are supported? Complete reading and writing access to files and directories of volumes with theExt2 orExt3 file system. Supports features which are specific to the I/O-system of Windows: Byte Range Locks, Directory Notfication (so the Explorer updates the view of a directory on changes within that directory), Oplocks (so SMB clients are able to cache the content of files). Allows Windows to run with paging files on Ext2 volumes. UTF-8 encoded file names are supported. The driver treats files with file names that start with a dot "." character ashidden. Supports GPT disks if the Windows version used also does. Supports use of the Windows mountvol utility to create or delete drive letters for Ext2 volumes (except on Windows NT 4.0). See also section"Can drive letters also be configured from scripts?". What features are *not* supported? Inodes that are larger than 128 bytes are not supported. Access rights are not maintained. All users can access all the directories and files of an Ext2 volume. If a new file or directory is created, it inherits all the permissions, the GID and the UID from the directory where it has been created. There is one exception to this rule: a file (but not a directory) the driver has created always has cleared "x" permissions, it inherits the "r" and the "w" permissions only. See also section"What limitations arise from not maintaining access rights?". The driver does not allow accessing special files at Ext2 volumes, the access will be always denied. (Special files are sockets, soft links, block devices, character devices and pipes.) Alternate 8.3-DOS names are not supported (just because there is no place to store them in an Ext2 file system). This can prevent legacy DOS applications, executed by the NTVDM of Windows, from accessing some files or directories. Currently the driver does not implement defragging support. So defragmentation applications will neither show fragmentation information nor defragment any Ext2 volume. This software does not achieve booting a Windows operating system from an Ext2 volume. LVM volumes are not supported, so it is not possible to access them.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值