Lilo, Windows, Raid0 [Fatal: Bios device code]
Hello all,
My brain is fried and I need to take a deep breather. Can someone please point me in the right direction to get all HDDs working and allow my Windows partition to be read by Lilo. I can only boot into Linux if I disconnect all HDDs. If I want to boot into Windows, I just disconnect my Linux HDD. Below is a my setup. And you read that right, the error message is complaining about sdc[HDD] and sda[SSD] EVEN THOUGH sda[SSD] and sdb[SSD] are the motherboard Raid0 SSD with the Windows partition. Motherboard Raid0 setup: 120 SSD sda [sda1 & sda2] 120 SSD sdb [sdb1] 4TB Window Data sdc1 1TB Slackware64 14.1 sdd [sdd1 swap & sdd2 / & sdd3 /home] 500GB Window Data sde1 Error message Code:
# lilo Quote:
Any and all advise would be greatly appreciated. Thank you! |
Are you using a Windows HDD formatted with GPT style partitioning?
|
Raid 0 problem
I had one time a problem with a hardware raid0 set up where the disks where different and exchanged
I don't know if you are using a hardware raid or a software raid, bur if you are using a hardware raid you could try to recompile the kernel with CONFIG_SATA_PMP=n (instead of y) in order to disable the port multiplier functionality which when enabled is confusing things. |
3 Attachment(s)
Yes, the 4TB HDD is formatted with windows & it is GTP. I have found more information on my problem. I notice every time I try booting into Linux with another HDD plugged in, it fails at booting sda2, which is odd. Because lilo knows to boot up device sdd and partition sdd2. Why is it falling back to sda2 instead of sdd2? Also, I can't even get lilo to finish checking the config [with the lilo] with Windows enable in the config file with that dang [fatal: bios device code] error.
I have included my full fdisk. I couldn't for the life of me figure out how to get setterm to dump my fdisk when working from the cd. Please see the attachment for more information. First two images is the full fdisk & and the third image is the error message I get when booting up with all HDDs plugged in. SlackInstalled: The confusion was on my end, when I said faked Raid, I meant I am using the MB Raid setup, not Windows software Raid or Linux software Raid. Code:
# Append any additional kernel parameters: |
What's your /etc/fstab look like? Off the top of my head, I'd first verify the bios boot order and then set lilo and fstab to use by-uuid or by-id so if the drives change position it doesn't matter.
|
I have been changing the boot order around a lot for this issue, and it doesn't do anything. I was actually thinking about the fstab last night as I haven't touched it once during this whole problem. And now, I feel a bit silly. However I thought Lilo would deal with everything. But how will I get Windows to be loaded in lilo now? I gave up on that yesterday.
Code:
/dev/sda1 swap swap defaults 0 0 Code:
UUID=e0972fca-9900-4733-a059-1399b123c1a1 swap swap defaults 0 0 Update: The new fstab with the UUID does not correct the problem with the windows raid plugged in or not. I am still receiving the following error on bootup. Tried sda, sdb, sdc, sdd, sde & tried sdc, sdc, sdd, sde plugged in and it didn't work. Quote:
|
LILO is not happy with random changing drives during the boot. Try setting up LILO to use UUID and by-id also after creating an initrd.
http://mirrors.slackware.com/slackwa.../README.initrd There might be a more proper way but this is what I've been using: Code:
$ cat /etc/lilo.conf |
Oh my, It is working with all HDDs plugged in!!! I had to re-create the initrd for it load my sdd drive. I believe making a new initrd was the key all along and that changing the fstab and lilo.confg didn't matter/did anything. Can anyone confirm this?
Also, how should I handle the windows raid0 configuration on the SSDs? [Thanks BrianW] |
AFAIK, when the loader loads the kernel, the latter doesn't know anything about uuuids, hence the need for an initrd which will provide that information to the kernel.
I had the same problem when creating my 'slackware-on-a-stick'. I was using the huge kernel, but still needed the initrd. |
All times are GMT -5. The time now is 01:47 AM. |