ㄨㄛ wrote:
> I think I'm stuck here. And it is difficult for me to specify the
> problem...
[...]
> Now I bought a new lenovo ideapad p580 with a windows 8 on it.
I own an Acer Aspire, never seen a Lenovo; I give you some
random info here in the hope it will be useful. On my
system:
* By default at netbook boot time there is no way to enter
the traditional BIOS setup interface.
* To enter the BIOS: I have to boot Windows 8 and activate
the old MBR interface, then reboot. There is a
configuration option that allows me to select either UEFI
boot or MBR boot.
* To boot from a stick: I have to enter the BIOS setup and
change the order of selection of boot devices.
Maybe it is useful to look at my disk partitions:
$ sudo /usr/sbin/parted /dev/sda print
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 420MB 419MB ntfs Basic data partition hidden, diag
2 420MB 735MB 315MB fat32 EFI system partition boot
3 735MB 869MB 134MB Microsoft reserved partition msftres
4 869MB 273GB 272GB ntfs Basic data partition
6 273GB 274GB 1049MB ext2 root
7 274GB 275GB 1049MB ext4 tmp
8 275GB 276GB 1049MB ext4 var
9 276GB 289GB 12.6GB linux-swap(v1) swap
10 289GB 341GB 52.4GB ext4 usr
11 341GB 367GB 26.2GB ext4 local
12 367GB 394GB 26.2GB ext4 opt
13 394GB 483GB 89.1GB ext4 home
5 483GB 500GB 17.3GB ntfs Basic data partition hidden, diag
notice that (on my system) Windows 8 does not come with a
single partition, rather it comes with:
* sda1 as partition for private stuff.
* sda2 as EFI partition used to hold the UEFI boot stuff.
* sda3 as partition for private stuff.
* sda4 as core partition with the Windows 8 actual
installation.
* sda5 as yet another private partition.
I have created the Slackware partitions by shrinking sda4
and filling the resulting free space.
IMHO you really really need to get Windows 8 to boot
again. If you succeed, do this to enable MBR booting:
1. Boot Windows 8 and enter the Start screen.
2. Move the mouse to the bottom-right of the screen, on the
dash button, until the ``charms'' toolbar appears.
3. Select "Settings" from the charms toolbar then select
"Change PC Settings" at the bottom of the "Settings" box.
This will enter a PC customisation application. Wander
around satisying yourself.
4. When ready, select "General" from the left menu; scroll
down the right frame to the "Advanced startup" section
and click on the button "Restart now".
5. The system restarts and enters a "Choose an option"
screen; select "Troubleshoot", then "Advanced options",
then "UEFI Firmware Settings": in the "UEFI Firmware
Settings" screen click on the "Restart" button.
6. The system should enter the classic BIOS setup screen.
On my system:
* In the "Main" menu: enable the "F12 Boot Menu" option.
* In the "Boot" menu: raise to the top the "USB HDD" option
in the "Boot Priority Order" list.
* In the "Boot" menu: check that "Secure Boot" is disabled.
* In the "Boot" menu: enable the "Legacy BIOS" option.
* Exit saving options.
If possible, I suggest you to download a System Rescue CD
image and prepare a bootable USB stick with it as explained
at their site[1]; at least you have a comfortable system to
boot from a stick. Unfortunately, such stick will boot only
if MBR booting is enabled.
As UEFI boot manager I use Roderick W. Smith's refind[2],
which allows us to select the operating system we want to
boot: it will automatically recognise the boot loaders in
the EFI partition and create a graphical menu at boot time
to select one of them. On the site there is extensive
documentation on the UEFI boot process.
As UEFI Linux boot loader I use elilo[3], which is used by
refind to load the Linux kernel and boot Slackware.
After everything is installed correctly, in the EFI
partition (which I optionally mount under /boot/efi) I have:
$ $ ls /boot/efi/
EFI
~ $ ls /boot/efi/EFI/
Boot Microsoft OEM Slackware tools
~ $ ls /boot/efi/EFI/Microsoft/
Boot bootmgfw.efi
~ $ ls /boot/efi/EFI/Slackware/
elilo.conf elilo.efi vmlinuz-huge-3.2.29
where "vmlinuz-huge-3.2.29" is the huge kernel installed by
Slackware. At present my elilo.conf is:
verbose=1
prompt
timeout=50
delay=50
chooser=simple
default=huge
image=vmlinuz-huge-3.2.29
description="Slackware Linux Huge Kernel 3.2.29"
label=huge
read-only
root=/dev/sda6
append="-- acpi_osi=Linux"
I still run the huge kernel, but in the future I will have
to build a custom kernel; that day things will change under
the "Slackware" directory.
HTH
[1] <
http://www.sysresccd.org>
[2] <
http://www.rodsbooks.com/refind/>
[3] <
http://elilo.sourceforge.net/>
--
"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"