You are not logged in.

#1 2012-09-25 21:35:53

Never
Member
Registered: 2008-07-01
Posts: 103

[SOLVED] Options for moving on from grub 0.97-21

I am going to try to provide as much data that I think is relevant before asking my question:

I need to use Archboot with ide-legacy and noapic to get a working Arch.


pacman -Q grub
grub 0.97-21

Which makes me grub_legacy

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# DEVICE DETAILS: /dev/hda1 UUID=2296a6d7-0915-4660-a822-5aba972b8842 LABEL=swap
# DEVICE DETAILS: /dev/hda2 UUID=ccfe994d-2a96-4d9d-8d6b-b8f93eb6b637 LABEL=/

# (0) Arch Linux
title  Arch Linux
root   (hd0,1)
kernel /boot/vmlinuz26-lts root=/dev/disk/by-uuid/ccfe994d-2a96-4d9d-8d6b-b8f93e
b6b637 rootfstype=ext3 ro
initrd /boot/kernel26-lts.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,1)
kernel /boot/vmlinuz26-lts root=/dev/disk/by-uuid/ccfe994d-2a96-4d9d-8d6b-b8f93e
b6b637 rootfstype=ext3 ro
initrd /boot/kernel26-lts-fallback.img

# (2) Windows
#title Windows
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
tmpfs           /tmp    tmpfs   nodev,nosuid    0       0
# DEVICE DETAILS: /dev/hda1 UUID=2296a6d7-0915-4660-a822-5aba972b8842 LABEL=swap
# DEVICE DETAILS: /dev/hda2 UUID=ccfe994d-2a96-4d9d-8d6b-b8f93eb6b637 LABEL=/
UUID=2296a6d7-0915-4660-a822-5aba972b8842 swap swap defaults 0 0
UUID=ccfe994d-2a96-4d9d-8d6b-b8f93eb6b637 / ext3 user_xattr,defaults 0 1

So basically just a swap partition and a root partition

I understand my choices are grub2 and syslinux. I have read a post of someone wanting to downgrade from grub to grub_legacy and a few negative post about grub2, I have not read any about syslinux. So I am leaning towards syslinux, however, I am curious if anyone knows of any complications or issues I would have. Also, when I am done here I would like to add a few more hard drives to this system and use LVM to make the new drives appear as a big one or however I choose to chop it up. I can leave my root and swap partitions as is [which I think were made with gparted] and have the rest of the drives managed by LVM, will that cause a conflict on its own, either grub2 or syslinux? Of course anyone's specific insight on this topic is welcome, thanks.

Last edited by Never (2012-11-07 02:07:20)

Offline

#2 2012-09-25 21:46:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Options for moving on from grub 0.97-21

I went from grub-legacy to syslinux a while ago, with no issues. It handles my LVM setup perfectly.

Offline

#3 2012-11-04 18:49:27

Never
Member
Registered: 2008-07-01
Posts: 103

Re: [SOLVED] Options for moving on from grub 0.97-21

OK so I am following this wiki on syslinux my boot looks like:

$ ls /boot/
grub                              kernel26-lts-fallback.img  vmlinuz26-lts
initramfs-linux-lts-fallback.img  kernel26-lts.img           vmlinuz-linux-lts
initramfs-linux-lts.img           syslinux

Three things:

1)   I am on the old IDE subsystem, I don't know if changing boot loaders is going to have an issue with that, but it is better to mention a potential problem coming, than a problem running.

2)   As a precautionary fall back, in the event that my system hates initramfs-linux-lts.img and vmlinuz-linux-lts and based off my grub menu post above can I make a syslinux.cfg that looks like this:

DEFAULT arch
PROMPT 0        # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl

# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32

# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std

# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

LABEL arch
        MENU LABEL Arch Linux
        LINUX ../vmlinuz-linux
        APPEND root=UUID=ccfe994d-2a96-4d9d-8d6b-b8f93eb6b637 rootfstype=ext3 ro init=/usr/lib/systemd/systemd
        INITRD ../initramfs-linux.img

LABEL archfallback
        MENU LABEL Arch Linux Fallback
        LINUX ../vmlinuz26-lts
        APPEND root=UUID=ccfe994d-2a96-4d9d-8d6b-b8f93eb6b637 rootfstype=ext3 ro init=/usr/lib/systemd/systemd
        INITRD ../kernel26-lts.img

#LABEL windows
#        MENU LABEL Windows
#        COM32 chain.c32
#        APPEND hd0 1

LABEL hdt
        MENU LABEL HDT (Hardware Detection Tool)
        COM32 hdt.c32

LABEL reboot
        MENU LABEL Reboot
        COM32 reboot.c32

LABEL off
        MENU LABEL Power Off
        COMBOOT poweroff.com

If everything works fine I can change the "archfallback" section to use vmlinuz-linux-lts and initramfs-linux-lts-fallback.img, right?

3) If the system just hates syslinux all together, how do I get back to booting from grub?

Offline

#4 2012-11-05 13:29:30

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: [SOLVED] Options for moving on from grub 0.97-21

Never wrote:

3) If the system just hates syslinux all together, how do I get back to booting from grub?

This is described in the grub (2) wiki, here is the section about how to save currently installed grub-legacy data, follow the link at the end of the section to get instruction to restore it.


take time to daydream, inspiration comes ...

Offline

#5 2012-11-07 02:06:52

Never
Member
Registered: 2008-07-01
Posts: 103

Re: [SOLVED] Options for moving on from grub 0.97-21

Neat, ty, went over to syslinux without any issue. And I can go ahead and pacman -R grub from my system now right?

Last edited by Never (2012-11-07 02:12:17)

Offline

Board footer

Powered by FluxBB