![]() |
strange LiLo problem...?
Hello!
set up yesterday Salckware x32 14.0 on wife-s netbook eeepc 1000, and get a strange problem. that system have an a two ssd discs: sda - 8 Gb with installed on it Xandros from factory, sda1 is bootable partition sdb - 32 Gb second SSD, previosly installed on it slack 12.2, lilo on previously system ( slackware 12.2 with lilo) i have in lilo.conf for xandros other = /dev/sda1 label = Xandros table = /dev/sda and all works fine - if i choose "Xandros", then he loads fast and without questions. system boots from first (sda) disc, as so, mbr is on sda now i set a slackware 14.0. and configure lilo analogically as old - other = /dev/sda1 label = Xandrosss table = /dev/sda and after choose "Xandrosss" at start, i got a "Loading Xandrosss", and after second - Error 2: Bad file or directory type Error 2: Bad file or directory type Press any key to continue... ***And after i press "anykey", i got a table with "normal boot / Perform Disk Scan / Restore Factory Settings". if i choose normal boot - get again Error 2: Bad file or directory type , press any key maybe anyone know, what is changed in lilo between these slackwares distro, and how i can get working my xandros too? slack 14 from that lilo starting without problems.... |
hmm
Any luck if you boot into slack14, and retry running lilo?
Boot into slack14, edit /etc/lilo.conf with vi (if neccessary), and rerun lilo. If there is anything awry with the setup, lilo should spit out some errors when it is adding the boot entries. |
Quote:
i think, this is general lilo problem... i also encounter some another problem ( not remember correctly) via old slackware (12.2) and new one (14 ) also on lilo - but not remeber precise, cannot use in lilo.conf other=/dev/sdX for another linux system on another disc in new lilo version or so on....then,as i remeber, lilo says an error on install stage, but not remember details - remember only, on old suystems, pre - 13.37 i never encounter that situation in that configurations.... |
Hello,
I would recommend that you post the output of Code:
fdisk -lMarkus |
2 Attachment(s)
Quote:
Code:
fdisk -lCode:
Code:
Code:
|
its not an UEFI system is it?
are you running in bios mode with normal lilo? |
Well, lilo says
Quote:
Code:
label = XandrosMarkus |
Quote:
you have edited /etc/lilo.conf you must not forget to run the lilo command. also when you have an efi system mbr booting can be complicated check out your bios options. |
Quote:
as i wrote, this fragment is from old lilo.conf, from slack 12.2. whan all works fine. current lilo.conf with xandrosss is higher... |
Quote:
about root and "run lilo after edit conf" - i know it all for years. i started on slackware on 4.00 about 2001 yer or so on. dont know about efi and so on, but on slack 12.2 on the same system with the same bios settings / etc all works, now, after i replace slack 12.2 with slack 14.0, and try to use similar lilo.conf - it not work. i hope, anyone know, where is problem...;) |
Please post the lilo.conf which lilo now uses and the output of the lilo command without the -v option.
Note that errormessages are most important for troubleshooting. Markus |
Quote:
look at fifth message in this topic, Today, 12:19 PM #5 WiseDraco lilo.conf actual: Code: # LILO configuration file # generated by 'liloconfig' # # Start LILO global section boot = /dev/sda compact # faster, but won't work on all systems. # 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. and so on and: lilo output: Warning: LBA32 addressing assumed Warning: The boot sector and map file are on different disks. Added Slack * Added Slack_gen + Added Xandrosss 2 warnings were issued. # |
Put a line
Code:
lba32It seems that lilo could not find a failure in your setup. The second warning message about mapfile and bootsector on different disks is clear but no problem. Now what exactly happens when you try to boot Xandros? Only the errormessages you posted in your first post? How old is the Xandros installation? when did you upgrade this for the last time? Which bootloader uses Xandros? as you know when you chainload (with the "other" option in lilo, the other system must have a bootloader anywhere, in this case in the superblock of /dev/sda1 As an alternative setup you could also put the xandros kernel into your Slackware bootdirectory and load both, Slackware and Xandros, with lilo. Markus |
Quote:
When i try to boot Xandros i get error 2 messages, as i wrote in first post. when i install slack 14, in install process i define sdb for mbr, and system automatically too make a boot record for "another linux" ( for Xandros) like image = /boot/ vmlinuz-3.x.x-smp root = /dev/sda1 until i see and fix that, i run "Xandross" choice, and get to boot - but after system boot it looks like different from my standart xandros. after that i change that in lilo.conf to other= and so on, and get the same problem with error 2: , when i choose xandrosss. in the same time i have a old mbr on /dev/sda/. i change "first boot device" in BIOS to sda ( 8 Gb), see an old lilo ( from slack 12.2) , choice "Xandros", and all be very ok. switch again to first boot from sdb - on xandros get again error 2 problem. then i think - maybe problem is for that new lilo is on different disk, than xandros, and install new lilo to /dev/sda, but nothing change - xandros not run.... also i have saved mbr from /dev/sda, so i theoretically can restored old mbr on sda, but i want to get work my new lilo with Xandros via other= , who works for many years on LiLo, but now looks like an broken...? oh yes - Xandros is as old, as eeepc 1000H is old - approx 3 - 4 years, it is default factory install. no major upgrades, no any upgrades for at least year or two. do not know, what loader he uses, looks like xandros based on debian and use GRUB ? PS yes, few seconds ago check this - restore my saved mbr on sda - and after that, again, Xandros start without any problem. now i have "old" and "new" mbr in file. this can help to determine and resolve problem with new lilo? |
2 Attachment(s)
there is both mbr's - get with
dd if=/dev/sda of=/root/sda_mbr_backup.img bs=512 count=1 in attach - sda_mbr_slack14 is new, mbr make with slack 14, and another - slack122 - is old mbr, make from slack 12.2, with working Xandros booting... |
| All times are GMT -5. The time now is 10:28 PM. |