You are not logged in.
I'm at a complete loss here. I've been using Linux as my main OS since 2005 and Arch since 2009. (Sometimes Arch still makes me feel like a newbie. This is one of those times.) I have Arch running on multiple PCs. I had grub 0.97 on them all. With the /usr/bin change I uninstalled grub (legacy) and installed syslinux using the instructions in the wiki at this page: https://wiki.archlinux.org/index.php/Syslinux
For 2 PCs (one desktop and one laptop) the install went fine. Both booted correctly after installing syslinux. The next computer I updated, a Lenovo laptop, won't boot. I don't even get the syslinux menu. It acts like there's no bootable partition set. But there is. I chrooted into the drive and tried switching back to grub-legacy (uninstalling syslinux, configuring grub, etc.) and the same thing happens. No boot menu.
The computer boots fine when the Windows 7 partition has the boot flag. It's only failing when the Linux partition has the flag. The root partition is on a logical partition, /dev/sda8. On /dev/sda8 there is a /boot/syslinux directory that contains ldlinux.sys and syslinux.cfg file with links to the other necessary syslinux files. The first partition on the drive is an NTFS volume that starts at 2048.
I cannot figure out what's wrong. Has anyone else encountered this?
Mike
Last edited by Scrivener (2013-06-15 15:13:56)
Offline
Yeah, I haven't tried that yet. I wanted to avoid grub because this is my wife's computer and I was trying to keep it simple. Our other Arch systems are running syslinux. I'll try grub and let you know how it goes.
Thanks for the tip.
Additional information: After I realized there was a problem I did play with the partitions using gparted. They weren't on sector boundaries and I thought that might affect it. I corrected this by deleting all the Arch partitions and recreating them with gparted. Then restoring the data (partition to partition) from a backup drive. Since then I've removed ldlinux.sys, the /boot/syslinux directory, and uninstalled syslinux with pacman. Since my intial post I've removed and reinstalled syslinux and ldlinux.sys again and done both the manual and automatic installs mentioned on the syslinux wiki page.
Last edited by Scrivener (2013-06-14 08:31:23)
Offline
I don't understand this. I installed grub and it's not working either. I have an MBR partitioned drive. I installed it using the MBR directions in the grub article on the wiki. Grub-bios and grub-common installed fine. I did modprobe dm-mod, grub-install --recheck /dev/sda, I installed os-prober, then ran grub-mkconfig -o /boot/grub/grub.cfg. There were no error messages, just normal successful output.
Then I rebooted and the drive still acts like I don't have an OS installed.
I went into my BIOS/setup and changed the SATA controller mode from AHCI to Compatible/IDE mode. It made no difference.
Earlier in the process I figured there might be a bad sector in the MBR, so I replaced the hard drive with a new one reinstalled syslinux (didn't work) and then grub-legacy (didn't work).
Now I'm here, having installed syslinux, grub-legacy, and grub and I still see no boot menu. The only way to get my system to boot is to change the boot flag to /dev/sda1 which is the Windows bootloader.
Is there some kind of hardware issue with this laptop that won't let it access a logical drive? Arch root is at /dev/sda8 it's set to bootable/active now.
Offline
Arch root is at /dev/sda8 it's set to bootable/active now.
The boot flag is irrelevant for Grub, it doesn't care about it. You have to install grub into the MBR of the drive you are booting from (selected by bios), the partition with /boot on it (grubs "second stage") can reside on a logical partition. So there should be no problem with /boot on sda8.
Then I rebooted and the drive still acts like I don't have an OS installed.
Do you get a Grub error, or a message from your BIOS?
Offline
Hokasch and NikTh, I think you did it! It wasn't booting with grub when /dev/sda8 had the boot flag. (I didn't see any BIOS errors, just a blinking cursor in the top left of the black screen as I could hear the hard drive and then the CD spin up. Then I'd get a PXEROM boot screen and a boot menu. There were no errors from grub either, and no menu.) I booted into the PartedMagic LiveCD and switched the boot flag to /dev/sda1 and now I see my grub menu. I can now boot to a login screen. Thanks guys for the tips about the boot flag and the tip about installing grub!
I'm marking this solved. I do seem to be having issues with systemd not loading, but I should be able to handle those now that I can boot.
Thank you again!
Offline