我有一台电脑有当我拿到它时,上面有一个32位操作系统,我以为它是32位的。所以安装了 debian-7 32 位。我后来将内核升级到pae,然后升级到64位。现在是 64 位内核和 32 位用户空间。
我正在尝试通过全新安装升级到 debian-8 64 位。但是,当我告诉计算机固件/BIOS 从 CD 启动时,它无法识别 CD 上的操作系统。它说没有找到操作系统。是否有可能 BIOS 被编程为不允许 64 位启动?如果是这样我该如何安装操作系统?
电脑 :Acer aspire 5228
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 10
CPU MHz: 1795.640
BogoMIPS: 3590.97
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
NUMA node0 CPU(s): 0,1
cat /proc/cpuinfo
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Celeron(R) Dual-Core CPU T3000 @ 1.80GHz
stepping : 10
microcode : 0xa0b
cpu MHz : 1795.640
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dtherm
bogomips : 3590.97
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
操作系统信息:
uname -a
Linux richard-laptop 3.2.0-4-amd64 #1 SMP Debian 3.2.81-1 x86_64 GNU/Linux
cat /etc/debian_version
7.11
aptitude show grub-pc
Package: grub-pc
State: installed
Automatically installed: no
Multi-Arch: foreign
Version: 1.99-27+deb7u3
Priority: optional
Section: admin
Maintainer: GRUB Maintainers <[email protected]>
Architecture: i386
Uncompressed Size: 488 k
Depends: debconf (>= 0.5) | debconf-2.0, grub-common, grub2-common (= 1.99-27+deb7u3), grub-pc-bin (=
1.99-27+deb7u3), ucf
Conflicts: grub (< 0.97-54), grub-coreboot, grub-efi-amd64, grub-efi-ia32, grub-ieee1275, grub-legacy
Replaces: grub, grub-common (<= 1.97~beta2-1), grub-coreboot, grub-efi-amd64, grub-efi-ia32, grub-ieee1275,
grub-legacy, grub2 (< 1.99-27+deb7u3)
Description: GRand Unified Bootloader, version 2 (PC/BIOS version)
GRUB is a portable, powerful bootloader. This version of GRUB is based on a cleaner design than its
predecessors, and provides the following new features:
* Scripting in grub.cfg using BASH-like syntax.
* Support for modern partition maps such as GPT.
* Modular generation of grub.cfg via update-grub. Packages providing GRUB add-ons can plug in their own
script rules and trigger updates by invoking update-grub2.
* VESA-based graphical mode with background image support and complete 24-bit color set.
* Support for extended charsets. Users can write UTF-8 text to their menu entries.
This package contains a version of GRUB that has been built for use with traditional PC/BIOS architecture.
Homepage: http://www.gnu.org/software/grub/
CD信息:它是在一本杂志的封面上获得的,用于安装我的另一台笔记本电脑。 (我在下面添加了一些换行符,以使此输出更具可读性):
file -Lsk /dev/cdrom
/dev/cdrom: sticky # ISO 9660 CD-ROM filesystem data 'LXFDVD199 '
(bootable)\012- x86 boot sector; GRand Unified Bootloader,
stage1 version 0x79, boot drive 0xbb,
stage2 address 0x8e70, 1st sector stage2 0xb8db31c3, stage2 segment 0x201;
partition 1: ID=0xee, starthead 0, startsector 1, 9003999 sectors, extended partition table (last)\011, code offset 0x52
答案1
答案2
我没有将其安装到完整的 64 位操作系统,但它现在运行的是 Debian jessie 32 位,带有 64 位内核和 64 位虚拟机。 (虚拟机必须与内核匹配)。
由此看来我可以将大部分系统升级到 64 位。然而我假设如果我升级 grub,那么固件引导加载程序将拒绝加载它。
因此应该是可能的(如果我是对的),拥有接近 100% 64 位系统,但有 32 位 grub。
注意:这似乎不正确,因为我认为 32 位引导加载程序无法加载 64 位操作系统。或者32位操作系统加载64位进程。
答案3
我最终使用多架构安装程序让它在 debian 9 上工作。我不知道旧版本的 debian 是否可以。