Lenovo Ideapad 100s 上的 Ubuntu/Debian -- Linux 在這台筆記型電腦上有問題

Lenovo Ideapad 100s 上的 Ubuntu/Debian -- Linux 在這台筆記型電腦上有問題

我拿起一個 Ideapad 100s 並嘗試在上面安裝 Ubuntu。到目前為止,我還沒有成功啟動 Ubuntu 安裝程式。該機器配備了 Windows 10,使用 UEFI,其設定僅允許停用安全啟動(沒有 BIOS 相容模式)。我能夠建立一個 Windows 恢復 USB 隨身碟,並用它來驗證系統是否能夠從 EFI USB 驅動器啟動(Fn+F12用於啟動選項)。

我使用ubuntu-15.04-desktop-amd64.iso並嘗試了兩種寫入 USB 媒體的方法:

  1. 我使用dd if=ubuntu-15.04-desktop-amd64.iso of=/mnt/sdb然後將ideapad重新啟動到啟動選項,但EFI啟動選單顯示Windows啟動管理器是唯一的選擇。

  2. 我將 iso 安裝到/mnt/iso並使用 vfat 類型建立/dev/sdb1(透過fdisk)並使其可啟動。在/dev/sdb1via上建立 fsmkfs.vfat並將其安裝到/mnt/sdb1.然後用來cp -a /mnt/iso/* /mnt/sdb1複製所有內容。啟動ideapad,但啟動選單僅顯示Windows Boot Manager作為選項。

正在查看相關貼文(例如在 Lenovo Ideapad U330p 上安裝 Ubuntu 時出現問題)並且似乎其他機器很容易識別Ubuntu載入的USB隨身碟。這是一台不錯的輕型筆記型電腦,我想保留它,但前提是我可以在上面安裝 Linux。實際啟動 Ubuntu 安裝程式的第一個障礙似乎已經很大了(可能會在 Linux 下看到很多裝置問題,但我很高興能做到這一點)。

如果有人有任何想法讓我嘗試,我將不勝感激。

編輯#1:我嘗試用http://cdimage.debian.org/cdimage/weekly-builds/multi-arch/iso-cd/debian-testing-amd64-i386-netinst.iso(用於dd寫入隨身碟/dev/sdb),ideapad UEFI 啟動選單現在讓我可以選擇「EFI USB 裝置」。我選擇它,下一個畫面是 GRUB 提示字元。雖然有些不對勁,但也比之前有了一些進步。這告訴我的是 amd64 Ubuntu iso 映像有,efi/boot/bootx64.efi但這個 ideapad 的韌體需要 32 位元.efi檔案。上面的 Debian img 有 64 位元和efi/boot/bootia32.efi.為什麼它會卡住grub>是我要解決的下一個謎團。這開始聽起來類似於華碩 X205TA 上的 Ubuntuhttp://ubuntuforums.org/showthread.php?t=2254322

編輯#2:所以我bootia32.efi從 Debian 版本複製到efi/boot/Ubuntu 15.04 並嘗試用它啟動,但 ii 也卡在grub>選單上,我無法啟動它vmlinuz。然後我注意到這台機器運行的是Windows 10 32位元版本,所以我去找32位元Ubuntu版本。運氣不好:15.10、15.04 和 14.04 都沒有EFI/

所以我選了 Debian i386 版本。我找到了 grub 選單,點擊“安裝”,然後進入安裝畫面。安裝程式要求選擇語言,我發現它不接受ideapad自帶鍵盤的按鍵(後來當我選擇圖形安裝時,它也不會接受滑鼠輸入)。我插入了 USB 鍵盤,該鍵盤被正確識別,使我能夠進行選單選擇。我插入了 USB WiFi 加密狗,它被識別了,但它不會加載韌體,rtxxx因此我的安裝停止了。

Alt我用+切換到終端F1lspci只顯示 5 個條目:

00:00.0 Host bridge, 00:02.0 VGA compatible controller
00:14.0 USB controller
00:1a.0 Encryption controller
00:1f.0 ISA bridge

Linux 似乎無法偵測到所有硬體。甚至/proc/cpuinfo只報告一個處理器。恐怕 Debian 中的 4.2 核心debian-testing-i386-netinst.iso(更新於 2015 年 10 月 12 日 12:53)尚未準備好與這台筆記型電腦配合使用。我幾乎準備好停止嘗試(並歸還它)。

答案1

我成功安裝了Ubuntu 32位元。使用過ubuntu-15.10-beta2-desktop-i386.iso(認為 15.10 會有更好的支持,還沒有嘗試其他 Ubuntu)。關鍵是使用 32 位元 efi 和 grub(我從 Debian 32 位元獲取它們)。以下是快速步驟:

fdisk /dev/mmcblk0 

建立一個大的 vfat 可啟動分割區,然後對其進行格式化:

mkfs.vfat /dev/mmcblk0p1

然後掛載鏡像和USB卡:

mount /dev/mmcblk0p1 /mnt/flshdrv/  
mount ubuntu-15.10-beta2-desktop-i386.iso /mnt/ubuntu/  

從 Ubuntu 複製:

cp -a /mnt/ubuntu/* /mnt/ubuntu/.disk /mnt/flshdrv/  
mount debian-testing-i386-netinst.iso /mnt/debian/  
mkdir -p /mnt/flshdrv/efi/boot  
cp /mnt/debian/efi/boot/bootia32.efi  /mnt/flshdrv/efi/boot/  

從 Debian i386 複製:

cp -a /mnt/debian/boot/grub/* /mnt/flshdrv/boot/grub/

grub 目錄將包含所有 i386 grub 專案:

$ ls /mnt/debian/boot/grub/  
total 362  
-r--r--r-- 1 root root   5000 Sep  5 21:21 font.pf2  
dr-xr-xr-x 1 root root  32768 Oct 11 20:34 i386-efi/  
dr-xr-xr-x 1 root root   2048 Oct 12 06:51 theme/  
-r--r--r-- 1 root root   2549 Oct 12 06:51 grub.cfg  
-r--r--r-- 1 root root 327680 Oct 12 06:51 efi.img  

我們仍然需要原始的 grub 配置:

mv /mnt/flshdrv/boot/grub/loopback.cfg /mnt/flshdrv/boot/grub/grub.cfg

然後umount /mnt/flshdrv從其他機器上取下。

插入ideapad 100s(我插入USB鍵盤的擴充USB插槽,您可能需要USB集線器,因為您需要USB Wifi轉接器)。我之前禁用了安全啟動。使用Alt+ F12,選擇從 USB 隨身碟啟動。像往常一樣繼續安裝。網路需要 USB Wifi 加密狗。鍵盤和滑鼠工作。沒有嘗試聲音,也沒有嘗試內部 wifi,也沒有嘗試 mmc 卡。必須做一些調整,例如。停止thermal.service,因為它導致了許多 ACPI 錯誤dmesg。由於某些原因,grub 後vmlinuz加載需要大約 20 秒。不知道為什麼。

接下來我嘗試使用 64 位元版本的 Debian 每日建置。與上面的步驟相同(並複製firmware-linux-nonfree.deb到USB卡)。 Ubuntu 安裝完成後,啟動正常(在 64 位元模式下),但 Debian 中的核心缺少一些模組(鍵盤和滑鼠無法工作,螢幕會變成空白,並且在某些活動後機器會釋放)。所以我複製並安裝(在單一用戶模式下)Ubuntu的Linux核心4.2.0-16 deb套件。啟動後,滑鼠和鍵盤可以工作,並且沒有螢幕黑屏的問題。 LCD 在約 10 分鐘不活動後會關閉(機器處於作用中),按任何鍵可重新開啟。

問題:

  • 聲卡似乎無法被辨識。
  • 內部無線網卡似乎根本沒有被偵測到。
  • 合上蓋子沒有任何作用,甚至不會關閉液晶顯示器。
  • 電池狀態和百分比報告為 100%
  • 不支援睡眠模式

從 Windows 裝置清單:聲音是 Intel SST 音訊裝置 (WDM),網路是 Realtek RTL8723BS 無線 Lan SDIO 網路介面卡。這是輸出lspci

lspci -v:

00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0f)
      Subsystem: Lenovo Device 390c
      Flags: bus master, fast devsel, latency 0
      Kernel driver in use: iosf_mbi_pci

00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0f) (prog-if 00 [VGA controller])
      Subsystem: Lenovo Device 390c
      Flags: bus master, fast devsel, latency 0, IRQ 248
      Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
      Memory at 80000000 (32-bit, prefetchable) [size=256M]
      I/O ports at 1000 [size=8]
      Expansion ROM at <unassigned> [disabled]
      Capabilities: <access denied>
      Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI (rev 0f) (prog-if 30 [XHCI])
      Subsystem: Lenovo Device 390c
      Flags: bus master, medium devsel, latency 0, IRQ 201
      Memory at 90800000 (64-bit, non-prefetchable) [size=64K]
      Capabilities: <access denied>
      Kernel driver in use: xhci_hcd

00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0f)
      Subsystem: Lenovo Device 390c
      Flags: bus master, fast devsel, latency 0, IRQ 246
      Memory at 90700000 (32-bit, non-prefetchable) [size=1M]
      Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
      Capabilities: <access denied>
      Kernel driver in use: mei_txe

00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0f)
      Subsystem: Lenovo Device 390c
      Flags: bus master, medium devsel, latency 0
      Capabilities: <access denied>
      Kernel driver in use: lpc_ich

聲音相關錯誤dmesg

sst-acpi: cannot load firmware intel/fw_sst_0f28.bin-i2s_master
byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not registered

嘗試過https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+/refs/heads/stabilize-5339.B/intel/如中所解釋的http://ubuntuforums.org/showthread.php?t=2254631我也收到錯誤:

baytrail-pcm-audio: ipc: error DSP boot timeout

我嘗試讓筆記型電腦進入睡眠狀態systemctl suspend,它正常進入睡眠狀態,但我無法喚醒它。不得不進行電源重置。

結論:筆記型電腦可用、輕巧且響應相對靈敏,Linux 檢測到四個處理器,並且在輕度使用時保持非常涼爽(約 34 °C),電池可持續使用超過 8 小時。我可能會退回該設備,因為如果沒有聲音、無線、電池資訊和睡眠能力,當有其他替代品時,它就不值得保留。

希望這對某人有用。

相關內容