LFS6.4无法启动。sata硬盘
时间:2009-04-16
来源:互联网
我怀疑是不是我的sda3以前是reiserfs,后来格式化成ext3格式化不全面。用blkid显示sda3是reiserfs的格式。
neilxp@neilxp-laptop:~$ blkid
/dev/sda1: UUID="883E-0E29" TYPE="vfat"
/dev/sda2: UUID="c36435d3-7b90-4b93-b1ca-7e610d2ade0b" TYPE="ext3"
/dev/sda3: UUID="d1a79b43-30b3-4195-91ee-e53f9fe356eb" TYPE="reiserfs"
/dev/sda5: UUID="499D-8EE2" TYPE="vfat"
/dev/sda6: UUID="29f345c6-c87b-4ef4-910b-c347e22f41ec" TYPE="ext3"
/dev/sda7: UUID="499D-8EE6" TYPE="vfat"
/dev/sda8: UUID="499D-8EE8" TYPE="vfat"
/dev/loop0: TYPE="squashfs"
用fdisk查看,sda3是83分区类型,推应ext3
neilxp@neilxp-laptop:~$ sudo fdisk -l
[sudo] password for neilxp:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91b3163b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ c W95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2 3825 7471 29294527+ 83 Linux
/dev/sda3 7472 9903 19535040 83 Linux
/dev/sda4 9904 38913 233022825 5 Extended
/dev/sda5 9904 28139 146480638+ b W95 FAT32
/dev/sda6 28140 30571 19535008+ 83 Linux
/dev/sda7 30572 35434 39062016 b W95 FAT32
/dev/sda8 35435 38913 27945036 b W95 FAT32
这是我配置内核的部分选项,AHCI SATA已经选择了。
kernel menuconfig
│ │ --- Serial ATA (prod) and Parallel ATA (experimental) drivers │ │
│ │[*] ATA ACPI Support │ │
│ │[*] SATA Port Multiplier support │ │
│ │ <*> AHCI SATA support │ │
│ │ <M> Silicon Image 3124/3132 SATA support │ │
│ │[*] ATA SFF support │ │
│ │ <M> ServerWorks Frodo / Apple K2 SATA support │ │
│ │ <*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support │ │
│ │ <M> RAID Transport Class │ │
│ │ -*- SCSI device support │ │
│ │ {M} SCSI target support │ │
│ │[*] legacy /proc/scsi/ support │ │
│ │ *** SCSI support type (disk, tape, CD-ROM) *** │ │
│ │ <*> SCSI disk support │ │
│ │ <M> SCSI tape support │ │
neilxp@neilxp-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
DSCF6267 (Medium).jpg (80.4 KB, 17 次查看) |
作者: neilxp 发布时间: 2009-04-16
/boot 有啥东西?
/boot/grub/menu.lst 有何内容?
作者: d00m3d 发布时间: 2009-04-16
root@neilxp-laptop:~# ls /lfs/boot/ -R
/lfs/boot/:
config-2.6.27.4 grub lfskernel-2.6.27.4 System.map-2.6.27.4
/lfs/boot/grub:
e2fs_stage1_5 stage1 stage2
i want to reuse my existing grub on sda2, which was brought by ubuntu host system.
its content:
root@neilxp-laptop:~# cat /boot/grub/menu.lst
default 0
timeout 2
color blink-dark-gray/green white/blue
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=c36435d3-7b90-4b93-b1ca-7e610d2ade0b ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=c36435d3-7b90-4b93-b1ca-7e610d2ade0b
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
## ## End Default Options ##
title Microsoft Windows XP Professional
root (hd0,0)
chainloader +1
savedefault
makeactive
title Ubuntu 8.10, kernel 2.6.27-7-generic
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c36435d3-7b90-4b93-b1ca-7e610d2ade0b ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c36435d3-7b90-4b93-b1ca-7e610d2ade0b ro single
initrd /boot/initrd.img-2.6.27-7-generic
title lfs
root (hd0,2)
kernel /boot/lfskernel-2.6.27.4 root=/dev/sda3 rw rootdelay=3
title Ubuntu 8.10, memtest86+
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
作者: neilxp 发布时间: 2009-04-16
作者: d00m3d 发布时间: 2009-04-16
作者: neilxp 发布时间: 2009-04-16
|----->SCSI low-level drivers
|---->Serial ATA (SATA) support
|---->intel PIIX/ICH SATA support
另,可参考:http://linuxman.blog.ccidnet.com/blo...id-280649.html
作者: laowang_buaa 发布时间: 2009-04-16
|---->Serial ATA (SATA) support
|---->intel PIIX/ICH SATA support
有该如何办呢?
作者: yzj19870824 发布时间: 2009-10-07
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28