LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: AnakinFoxe

[solved, thx.4.zhoukb's help]将Gentoo安装在逻辑分区上重编内核后启动失败

[复制链接]
发表于 2007-9-2 12:16:36 | 显示全部楼层
Post by AnakinFoxe
顺便问问第二个帖子的问题呢?
我建议你用fsdisk删除之,软后用fsdisk重新调整一下hdax的顺序,调整后别忘了改grub和fstab。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-2 12:19:06 | 显示全部楼层
Post by zhoukb
不会吧,刚刚我看错了,我的是CONFIG_BLK_DEV_PIIX,我以为你的也是,但我看你的lspci是ATI的,我又改了。你看看CONFIG_BLK_DEV_IDEDISK=y是否有作用。


但现在确实顺利进入系统了……这……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-2 12:21:49 | 显示全部楼层
Post by zhoukb
我建议你用fsdisk删除之,软后用fsdisk重新调整一下hdax的顺序,调整后别忘了改grub和fstab。


调整一下?
我只知道用livecd boot后把分区删除后重建。。。。
回复 支持 反对

使用道具 举报

发表于 2007-9-2 12:25:18 | 显示全部楼层
Post by AnakinFoxe
调整一下?
我只知道用livecd boot后把分区删除后重建。。。。
看上面帖子,我说步骤了。你删除没用的那个分区就行了,如果顺序乱了,可按下面调整hda的顺序。
  1. The number of cylinders for this disk is set to 12161.
  2. There is nothing wrong with that, but this is larger than 1024,
  3. and could in certain setups cause problems with:
  4. 1) software that runs at boot time (e.g., old versions of LILO)
  5. 2) booting and partitioning software from other OSs
  6.    (e.g., DOS FDISK, OS/2 FDISK)
  7. Command (m for help): m
  8. Command action
  9.    a   toggle a bootable flag
  10.    b   edit bsd disklabel
  11.    c   toggle the dos compatibility flag
  12.    d   delete a partition
  13.    l   list known partition types
  14.    m   print this menu
  15.    n   add a new partition
  16.    o   create a new empty DOS partition table
  17.    p   print the partition table
  18.    q   quit without saving changes
  19.    s   create a new empty Sun disklabel
  20.    t   change a partition's system id
  21.    u   change display/entry units
  22.    v   verify the partition table
  23.    w   write table to disk and exit
  24.    x   extra functionality (experts only)
  25. Command (m for help): x
  26. Expert command (m for help): m
  27. Command action
  28.    b   move beginning of data in a partition
  29.    c   change number of cylinders
  30.    d   print the raw data in the partition table
  31.    e   list extended partitions
  32.    f   fix partition order
  33.    g   create an IRIX (SGI) partition table
  34.    h   change number of heads
  35.    m   print this menu
  36.    p   print the partition table
  37.    q   quit without saving changes
  38.    r   return to main menu
  39.    s   change number of sectors/track
  40.    v   verify the partition table
  41.    w   write table to disk and exit
  42. Expert command (m for help): f
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-2 12:34:36 | 显示全部楼层
似乎也不对,刚才手痒又去把CONFIG_BLK_DEV_IDEDISK关了,重编。照样使用正常……

突然想起前面某次修改内核配置之后忘记make了,靠……这下我也不能确定问题解决在哪儿了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-2 12:37:46 | 显示全部楼层
Post by zhoukb
看上面帖子,我说步骤了。你删除没用的那个分区就行了,如果顺序乱了,可按下面调整hda的顺序。


  1. The number of cylinders for this disk is set to 12161.
  2. There is nothing wrong with that, but this is larger than 1024,
  3. and could in certain setups cause problems with:
  4. 1) software that runs at boot time (e.g., old versions of LILO)
  5. 2) booting and partitioning software from other OSs
  6.    (e.g., DOS FDISK, OS/2 FDISK)

  7. Command (m for help): m
  8. Command action
  9.    a   toggle a bootable flag
  10.    b   edit bsd disklabel
  11.    c   toggle the dos compatibility flag
  12.    d   delete a partition
  13.    l   list known partition types
  14.    m   print this menu
  15.    n   add a new partition
  16.    o   create a new empty DOS partition table
  17.    p   print the partition table
  18.    q   quit without saving changes
  19.    s   create a new empty Sun disklabel
  20.    t   change a partition's system id
  21.    u   change display/entry units
  22.    v   verify the partition table
  23.    w   write table to disk and exit
  24.    x   extra functionality (experts only)

  25. Command (m for help): x

  26. Expert command (m for help): m
  27. Command action
  28.    b   move beginning of data in a partition
  29.    c   change number of cylinders
  30.    d   print the raw data in the partition table
  31.    e   list extended partitions
  32.    f   fix partition order
  33.    g   create an IRIX (SGI) partition table
  34.    h   change number of heads
  35.    m   print this menu
  36.    p   print the partition table
  37.    q   quit without saving changes
  38.    r   return to main menu
  39.    s   change number of sectors/track
  40.    v   verify the partition table
  41.    w   write table to disk and exit

  42. Expert command (m for help): f

复制代码


哦,sorry,刚才看的时候没留意这一点。谢谢啦!
回复 支持 反对

使用道具 举报

发表于 2007-9-2 12:39:00 | 显示全部楼层
Post by AnakinFoxe
似乎也不对,刚才手痒又去把CONFIG_BLK_DEV_IDEDISK关了,重编。照样使用正常……

突然想起前面某次修改内核配置之后忘记make了,靠……这下我也不能确定问题解决在哪儿了
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_ATIIXP=y
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-2 12:56:24 | 显示全部楼层
Post by zhoukb
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_ATIIXP=y


不错,就是CONFIG_BLK_DEV_IDEDISK这个设置,我居然一直忽略它了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表