lilo and grub booting problems

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
pevsner
Posts: 81
Joined: 12. Apr 2010, 16:08

lilo and grub booting problems

Post by pevsner »

I installed ubuntu-studio for recording as I get a lower latency than a patched realtime kernel on salix/slack. Now I am having boot issues :-
liloconfig.log =

Code: Select all

Boot image: /tmp/lilosetup/mnt/sda5/boot/vmlinuz-3.2.0-23-lowlatency
Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader
What's also wierd is the ubuntu install is actually on sda6.
Grub via sg2conf grub completes properly, output=no errors, but only has the boot to salix option.

Code: Select all

sg2conf 1.1.14.1

fdisk -l output:
----begin----

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0710aa27

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    21302189    10651063+  83  Linux
/dev/sda2       145373182   312580095    83603457    5  Extended
/dev/sda3        21302190   145372184    62034997+  83  Linux
/dev/sda5       224733348   237023009     6144831   83  Linux
/dev/sda6       184731498   224733284    20000893+  83  Linux
/dev/sda7       237023073   312580095    37778511+  83  Linux
/dev/sda8       145373184   184727551    19677184   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x43832ce7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *       16126   113817599    56900737    f  W95 Ext'd (LBA)
/dev/sdb2       118030336   160835583    21402624   83  Linux
/dev/sdb3       113817600   115959807     1071104   82  Linux swap
/dev/sdb4       115959808   118030335     1035264   82  Linux swap
/dev/sdb5           16128    11454344     5719108+   7  HPFS/NTFS/exFAT
/dev/sdb6        11454408   113817599    51181596    7  HPFS/NTFS/exFAT

Partition table entries are not in disk order
----end----

/etc/fstab:
----begin----
/dev/sdb4        swap             swap        defaults         0   0
/dev/sda1        /                ext4        noatime,defaults 1   1
/dev/sda3        /home            ext3        noatime,defaults 1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,users,rw,umask=00 0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

/dev/sda8 /media/music8 ext3 defaults,errors=remount-ro,users,user_xattr,user 0 0
/dev/sdb2 /media/texturesB2 ext3 defaults,errors=remount-ro,users,user_xattr,user 0 0
----end----

mount output:
----begin----
/dev/root on / type ext4 (rw,noatime,user_xattr,acl,barrier=1,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda3 on /home type ext3 (rw,noatime)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdb2 on /media/texturesB2 type ext3 (rw,noexec,nosuid,nodev,errors=remount-ro,user_xattr)
gvfs-fuse-daemon on /home/adrian3/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=adrian3)
/dev/sda5 on /tmp/lilosetup/mnt/sda5 type ext4 (rw)
/dev/sda6 on /tmp/lilosetup/mnt/sda6 type ext4 (rw)
/dev/sda8 on /tmp/lilosetup/mnt/sda8 type ext4 (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda8 on /media/music8 type ext3 (rw,noexec,nosuid,nodev,errors=remount-ro,user_xattr)
/dev/sda1 on /tmp/lilosetup/mnt/sda1 type ext4 (rw)
/dev/sda6 on /tmp/lilosetup/mnt/sda1/tmp/lilosetup/mnt/sda6 type ext4 (rw)
----end----
The ubuntu grub worked, but currently ( after patching rt kernel for salix - cause ubuntu's just too bloaty and crazy dependancies - and I would prefer to use slack) I can't boot into it, even of the 12.04 cd ).

Help would be appreciated.
mlmyers
Posts: 23
Joined: 28. Apr 2012, 03:19
Location: Nashville, TN
Contact:

Re: lilo and grub booting problems

Post by mlmyers »

Simply put: your kernel is too big for the version of LILO you're using.

Two possible solutions:
1) Get a smaller kernel, or use the bzipped version instead
2) Newer versions (>=23) of LILO up the kernel size limit to 62 units from 31. You should upgrade to try to fix it, but I'm going to guess that if your kernel is too big, it's about 5-15x too big, not 2x too big.

Cheers.
Running a mix of Slackware64 14.0 / Slackware 14.1 + Salix OS packages
pevsner
Posts: 81
Joined: 12. Apr 2010, 16:08

Re: lilo and grub booting problems

Post by pevsner »

Thanks mimyers,
I upgraded to the latest lilo 23.2, which didn't report any errors, but still wouldn't boot the ubuntu-studio.
Oh well, the ubuntu-s grub finds salix ok and works, grub won't boot the ubuntu-s on salix.
mlmyers
Posts: 23
Joined: 28. Apr 2012, 03:19
Location: Nashville, TN
Contact:

Re: lilo and grub booting problems

Post by mlmyers »

Hm. When you say "it doesn't post errors," are you talking about when you load Lilo into the MBR, or are you talking about at boot time? Also, how are you switching back and forth between Grub and Lilo so frequently?
Oh well, the ubuntu-s grub finds salix ok and works, grub won't boot the ubuntu-s on salix.
Does this mean you're also switching between the Grub Ubuntu distributes and the one that comes as part of Salix? I'm a bit confused by this statement. Can anything anywhere boot the Ubuntu? If so, you should see if Ubuntu distributes an automatic Grub conf tool. If not, try running Slackware's Lilo conf tool, after backing up your current /etc/lilo.conf. It sounds stupid, but you never know.

Good luck!
Running a mix of Slackware64 14.0 / Slackware 14.1 + Salix OS packages
pevsner
Posts: 81
Joined: 12. Apr 2010, 16:08

Re: lilo and grub booting problems

Post by pevsner »

What I did in the end was.
Installed grub (via ub-studio disc) on it's own partition rather than mbr, booted back into salix and added a chainloader entry in lilo.conf pointing to ub-studio partition.
# Linux bootable partition config ends

Code: Select all

other = /dev/sda6
	label = studio
This will be my method from now on.
travalon
Posts: 10
Joined: 27. Jun 2012, 07:22

Re: lilo and grub booting problems

Post by travalon »

I'm a noob and just about everything in this post is greek to me. However I had a similar problem with Mint and Salix. I installed Mint 13 1st then Salix. I didn't install lilo at the prompt. I then rebooted to Mint and ran Grub customizer. It detected and allowed me to choose what it would display among other things. I hit save and rebooted. Voila!!!! Dual boot Mint 13 & Salix.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: lilo and grub booting problems

Post by Akuna »

pevsner wrote:What I did in the end was.
Installed grub (via ub-studio disc) on it's own partition rather than mbr, booted back into salix and added a chainloader entry in lilo.conf pointing to ub-studio partition.
# Linux bootable partition config ends

Code: Select all

other = /dev/sda6
	label = studio
This will be my method from now on.
Simple and smart!
Image
What really matters is where you are going, not where you come from.
Post Reply