zoukankan      html  css  js  c++  java
  • 装Windows和Linux双系统

    Windows 7 + Linux mint

    装来玩玩呗,好歹算是IT男

    我电脑本来就是Windows 7

    然后用软碟通做个Linux的启动盘

    注意“便捷启动”要选syslinux

    然后从U盘启动会进入Linux系统,里面有个Install程序

    运行一步一步按着提示便是

    终于安装好了之后,你只能进Linux,因为Windows的引导已经没用了,所以要么你改Linux的应到文件要么你改Windows的应到文件

    这里我改的是Linux引导 /boot/grub/grub.cfg

    在这个文件里面找到一下几句话:

    1 ### BEGIN /etc/grub.d/40_custom ###
    2 # This file provides an easy way to add custom menu entries.  Simply type the
    3 # menu entries you want to add after this comment.  Be careful not to change
    4 # the 'exec tail' line above.
    5 ### END /etc/grub.d/40_custom ###

    这就是你要改的地方:

     1 ### BEGIN /etc/grub.d/40_custom ###
     2 # This file provides an easy way to add custom menu entries.  Simply type the
     3 # menu entries you want to add after this comment.  Be careful not to change
     4 # the 'exec tail' line above.
     5 menuentry "windows 7"{
     6 insmod part_msdos
     7 insmod ntfs
     8 set root='(hd0,msdos1)'
     9 chainloader +1
    10 }
    11 ### END /etc/grub.d/40_custom ###
  • 相关阅读:
    【js】右下角浮动窗口
    malefile
    跟我一起学习VIM
    Linux服务器开发初步
    如何学习Linux
    什么是Java序列化?如何实现序列化?
    java微信工众号开发
    史上最全最强SpringMVC详细示例实战教程
    Hibernate注解方法使用总结
    Hibernate注解
  • 原文地址:https://www.cnblogs.com/fallenmoon/p/7092234.html
Copyright © 2011-2022 走看看