[SOLVED] Lilo issue with two linux dristros (Slack 13.1 and UbuntuStudio 10.4)
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Lilo issue with two linux dristros (Slack 13.1 and UbuntuStudio 10.4)
Hi All,
Need a little help here.... After giving up on Ubuntu and Unity/Gnome3, I decided to come home to Slackware for normal Desktop usage. And, as always, it installed and runs great. However, after a few days of playing with kernels and rt patches and SlackBuilds, etc... I decided to just install Ubuntu Studio for my recording desktop because it works so well.
I made a new partition for it on /dev/sda and installed. I skipped the loader install because I figured I already had lilo from Slack and I like that mush better.
The issue is that Ubuntu seems to have re-ordered my drives from the order Slack used. It has moved /dev/sda to sdb...sdb to sdc.... and sdc to sda.... How is that possible??? What went wrong??? I thought the BIOS handled that....
I tried forcing the drive order in my lilo.conf:
----------
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
disk = /dev/sda
bios = 0x80
disk = /dev/sdb
bios = 0x81
disk = /dev/sdc
bios = 0x82
append=" vt.default_utf8=0"
boot = /dev/sda
large-memory
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 140
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
default=Sno1-rt
# Normal VGA console
#vga = normal
# VESA framebuffer console @ 1024x768x64k
vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda6
label = Linux
read-only
image = /boot/Sno1
root = /dev/sda6
label = Sno1-rt
read-only
image = /mnt/Studio/boot/vmlinuz-2.6.32-35-preempt
initrd = /mnt/Studio/boot/initrd.img-2.6.32-35-preempt
root = /dev/sda7
label = Studio
vga = normal
read-only
# Linux bootable partition config ends
----------
But 'lilo -t -v3 > /tmp/lilo.dump' gives the following:
----------
Code:
LILO version 22.8 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 14:44:48 on Feb 16 2010
Running Linux kernel 2.6.33.7-rt29-smp on i686
Warning: LBA32 addressing assumed
device-mapper major = 253
raid_setup returns offset = 00000000 ndisk = 0
BIOS VolumeID Device
Reading boot sector from /dev/sda
pf_hard_disk_scan: ndevs=3
0800 1440CA79 /dev/sda
0810 000E4D87 /dev/sdb
0820 DEAADEAA /dev/sdc
Resolve invalid VolumeIDs
Resolve duplicate VolumeIDs
0800 1440CA79 /dev/sda
0810 000E4D87 /dev/sdb
0820 DEAADEAA /dev/sdc
device codes (user assigned pf) = 7
device codes (user assigned) = 7
device codes (BIOS assigned) = 7
device codes (canonical) = 7
Device 0x0800: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 0 sectors.
Using Volume ID 1440CA79 on bios 80
Device 0x0806: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 109370583 sectors.
Using Volume ID 1440CA79 on bios 80
mode = 0x03, columns = 80, rows = 25, page = 0
Using BITMAP secondary loader
Calling map_insert_data
Secondary loader: 19 sectors (0x3800 dataend).
bios_boot = 0x80 bios_map = 0x80 map==boot = 0 map S/N: 1440CA79
Mapping bitmap file /boot/slack.bmp
Device 0x0806: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 109370583 sectors.
Using Volume ID 1440CA79 on bios 80
width=640 height=480 planes=1 bits/plane=8
Calling map_insert_file
Bitmap: 28 sectors.
BIOS data check was okay on the last boot
image_menu_space = 16
Boot other: /dev/sda1, on /dev/sda, loader CHAIN
Device 0x0801: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 63 sectors.
Using Volume ID 1440CA79 on bios 80
Device 0x0800: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 0 sectors.
Using Volume ID 1440CA79 on bios 80
Mapped 6 (4+1+1) sectors.
Added Windows
<dev=0xe0,hd=30,cyl=95,sct=162>
Boot image: /boot/vmlinuz -> vmlinuz-huge-smp-2.6.33.4-smp
Device 0x0806: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 109370583 sectors.
Using Volume ID 1440CA79 on bios 80
Setup length is 26 sectors.
Mapped 10591 sectors.
Added Linux
<dev=0xe0,hd=30,cyl=95,sct=165>
"ro root=806 vt.default_utf8=0"
Boot image: /boot/Sno1
Device 0x0806: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 109370583 sectors.
Using Volume ID 1440CA79 on bios 80
Setup length is 26 sectors.
Mapped 10119 sectors.
Added Sno1-rt *
<dev=0xe0,hd=175,cyl=102,sct=160>
"ro root=806 vt.default_utf8=0"
Boot image: /mnt/Studio/boot/vmlinuz-2.6.32-35-preempt
Device 0x0807: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 358166528 sectors.
Using Volume ID 1440CA79 on bios 80
Setup length is 26 sectors.
Mapped 8029 sectors.
Mapping RAM disk /mnt/Studio/boot/initrd.img-2.6.32-35-preempt
Device 0x0807: BIOS drive 0x80, 255 heads, 30401 cylinders,
63 sectors. Partition offset: 358166528 sectors.
Using Volume ID 1440CA79 on bios 80
RAM disk: 16360 sectors.
Added Studio
<dev=0xe0,hd=175,cyl=103,sct=7>
"ro root=807 vt.default_utf8=0"
BIOS VolumeID Device
80 1440CA79 0800
81 000E4D87 0810
82 DEAADEAA 0820
The boot sector and the map file have *NOT* been altered.
One warning was issued.
----------
Where did "device codes (canonical)=7" come from? Is that normal?? Is that the problem??? Never noticed it before....
I have tried wiping the mbr with dd, and removing the map and boot files from the /boot folder. Then re-running lilo to install it. But anytime I try to boot the Studio image, the kernel swaps /dev/sda, /dev/sdb, /dev/sdc, and fails.
I know I must be missing something here..... any help you can give is appreciated.
Please do not manually bump your thread unless you provide additional information;
Quote:
LQR;
While almost every question does get an answer, we cannot guarantee a response. If your thread does not receive any responses, it will automatically be bumped twice.Threads should not be manually bumped without including additional information.
You removed the thread from zero reply list by bumping.
Please use the vbcode tags # or Quote when posting long lists or data.
Should ask in an ubuntu forum. The canonical might be an ubuntu thing (canonical is the ubuntu corp.)
out of curiosity why install 13.1?
OK. I will ask there....Thanks.
As to why 13.1???
Can't stand Gnome 3/unity. Like Gnome 2.3. Gnome-Slackbuild 2.3 was only available for 13.1. 13.37 was Gnome 3. Played around with putting gsb 2.3 on Slack 13.37. Had it mostly working. But decided to just wipe it and move back to 13.1 rather then spending more time trying to get it all to work.
I think I knew that 13.37 was using gnome3 but conveniently forgot. I don't use gnome or kde. I used to use kde but it never got better. The mindset in the gnome/kde camps seems to be "more features means better". I keep it simple/light and use fluxbox. Sorry I can't offer much on the boot problem as I don't know ubuntu. I would reduce the lilo.conf down to the bare minimum and try until some pattern emerges that might lead to a new insight. Also check the GPT is enabled, etc.
I think I knew that 13.37 was using gnome3 but conveniently forgot. I don't use gnome or kde. I used to use kde but it never got better. The mindset in the gnome/kde camps seems to be "more features means better". I keep it simple/light and use fluxbox. <snip>
Gnome was dropped from Slackware a long time ago. You can get Gnome SlackBuild packages but officially not supported. I too prefer xfce for a light environment. You might want to give KDE a try since things have changed to the better. Sure still bloat but a workable environment with nice hardware.
Gnome was dropped from Slackware a long time ago. You can get Gnome SlackBuild packages but officially not supported. I too prefer xfce for a light environment. You might want to give KDE a try since things have changed to the better. Sure still bloat but a workable environment with nice hardware.
I know.... Gnome being dropped was the main reason I left Slack. Dropline was a good option for a while, but that fell apart. I did not mind KDE 10 years ago. But it is far to bloated now. I do usually end up with fluxbox when all is said and done tho....may be forced to give xfce a try...... But I like gnome 2.3 and gdm. That is what I want. If I didn't really care what it looked like, how it worked, or how resource heavy it was, I would run Mac.
Back to my original questions.....any new ideas out there?????
Did you attempt my suggestions and none of them worked? What happened if you did try?
Is your system shared with others? I always wondered why people ran a gdm when they were the only one using it.
You may already know that you can just login on a terminal and do
xinit ~/.xinitrc -- /usr/bin/Xorg
Yes, I tried trimming down the conf file. No change. I did not check on GPT because none of the partitions are that big. But I still may look at it later.
As to why gdm... yes, my computer is occasionally used by others (Wife, guests, children). GDM is quite useful for that.
Well.... I finally got around to setting up the networking on the Ubuntu side. Upgraded the kernel and bang.... fixed... no more adding "root=/dev/sdb7" to the prompt. It orders the drives correctly.
Still not sure what was wrong with the original tho.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.