我剛剛安裝了Ubuntu。這是一條漫長而痛苦的道路,因為我犯了所有可能的錯誤。事情終於開始好轉了。當我打開電腦時,我會進入啟動選單。 Ubuntu 可以運行,但 Windows 不行。
如果我嘗試選擇窗口,它會進入黑屏,然後返回啟動選單。
我相信問題在於啟動菜單試圖打開窗口,dev/sda1
但實際上窗口是在dev/sda2
.這會導致黑屏發生大約五秒鐘,然後回到啟動選單!請幫忙!我很想保留 Ubuntu,但我需要存取 Windows。
這是我得到的完整啟動資訊日誌:
============================ 啟動資訊摘要:================== =============
=> Lilo 安裝在/dev/sda
.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1
and looks at sector 781374472 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub on this drive. No errors found
in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.10
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================= 磁碟機/分割區資訊:================== =============
驅動器:sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 695,974,276 695,767,429 7 NTFS / exFAT / HPFS
/dev/sda3 695,975,934 976,771,071 280,795,138 5 Extended
/dev/sda5 695,975,936 968,652,799 272,676,864 83 Linux
/dev/sda6 968,654,848 976,771,071 8,116,224 82 Linux swap / Solaris
“blkid”輸出:________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 907251C67251B1A8 ntfs System Reserved
/dev/sda2 60EC5404EC53D2C0 ntfs
/dev/sda5 cb187c79-003c-4187-a465-a65086a232e0 ext4
/dev/sda6 34f6876e-7e0e-4c27-aef7-54250c4fdea7 swap
================================== 掛載點:============ == =================
Device Mount_Point Type Options
/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)
========================= sda5/boot/grub/grub.cfg
: ======================= = ===
答案1
我最近也遇到了 GRUB 的問題。這是我的帖子:https://askubuntu.com/questions/119597/grub-rescue-error-unknown-filesystem/119661#119661。
啟動進入 Ubuntu。下載並運行啟動修復解決您的問題。選擇“推薦修復(修復最常見的問題)”選項。
實際上,您似乎擁有 Lilo,因此該解決方案可能不適合您。作為一種選擇,您可以用 GRUB 取代 Lilo,因為 GRUB 是最受歡迎的引導程式。