Re[2]: [newbie] LILO issues with 2 hard drives.
Originally to: All This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_tcob1.net-7255-1008635612-0001-2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit At 12:00 AM 12/18/01 +0200, Onur Kucuk wrote: May you add the following disk=/dev/hda bios=0x80 disk=/dev/hdb bios=0x81 disk=/dev/hdc bios=0x82 disk=/dev/hdd bios=0x83 snip You were right about adding the Octal addresses. (That is Octal, isn't it?) The first one you had me try (the one above setting all 4 devices) was apparently the correct one as it worked right away with no errors. I did a lilo -t to test it out and got no errors, so I then committed it and restarted the system, and my LILO menu was back where it belonged. Thank you very much for your help and your explanation into how LILO works and thank you to the other people that helped me to sort this out. Ivan. --=_tcob1.net-7255-1008635612-0001-2 Content-Type: text/plain; name=message.footer; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=message.footer X-Mime-Autoconverted: from 8bit to 7bit by courier 0.36.1 - Gateway Information. This message originated from a Fidonet System (http://www.fidonet.org) and was gated at TCOB1 (http://www.tcob1.net) Please do not respond direct to this message but via the list Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.[OT}
snip You were right about adding the Octal addresses. (That is Octal, isn't it?) (I love it when I (think) I know something:) No, that's not octal, it's hex. Octal would not have an 8 in it -- only 0 thru 7.) Randy Kramer That's what I get for typing when I'm tired. ;) You're correct on that being Hex and not Octal. Onur also refreshed my memory on that too by reminding me that Hex numbers start with 0x. I used to do webdesign stuff and I used to convert the RGB colors from PhotoShop to Hex manually (as in with a pad of paper, not with a calculator) to use in my HTML code. (Yes, I was only doing it to show off, lol) In HTML though they drop the Ox off of it though and since it's been a few years since I've really done anything significant, I guess it slipped my mind. I used to also convert IP addresses into Hex to see if there was a way of spelling words and find a real website. I never did find anything and most browsers don't deal with Hex addresses in place of URLs anymore, at least not very well if they do. It's also hard to spell words with only 6 letters. I suppose you could count a 0 as an O, a 5 as an S, and a 7 as a T, but that would be stretching it. ;) Anyway, thanks for pointing out my goof. Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.
Ivan Offalich wrote: I looked all over the Linux Documentation Project website for this information. I couldn't seem to find it anywhere so I was hoping someone could help me with it on this list. I'll explain my situation. I have two hard drives installed on my computer. hda is dedicated to Windoze. hdc is dedicated to Linux. When I install Linux (I've gone through the process a few times) it has me choose between LILO and GRUB. I have chosen LILO since I've read more about it than GRUB and I have a better understand of how it works. After installing and booting up, I get the choice of booting Linux-Secure, Linux, Linux Failsafe, or Windoze. Everything works fine like it should. When I installed I tried both the normal boot and also the nicer looking boot (the equivalent of vga=791 in the config. file), they both worked fine. The trouble comes afterwards. I edited my /etc/lilo.conf file, saved it, and then typed lilo into the shell. It returned a confirmation that the file was edited properly. When I restarted my computer the BIOS went through its normal checks and when it got to the OS Loading... part the screen starts filling with 01 00 01 00 01 00 01 00 01 etc. I understood that this meant my MBR was corrupted, so I did a fdisk /mbr from my DOS bootdisk. This allowed me to get into Windoze normally and I could of course get into Linux using my Linux bootdisk. I restored the /etc/lilo.conf file to its original condition and typed lilo once more. When I restarted my computer the next time I got the same 1s and 0s. Considering that I took much care into editing the /etc/lilo.conf file originally, this leads me to believe that it wasn't the result of a typo in the file. What it does lead me to believe is that the installation process writes to the MBR differently than LILO does from Linux. I'm not sure if that's the case though. It's also possible that I'm doing something wrong somehow that I don't realize. Is it possible that hda isn't being mounted properly before it's being written to? Does the fact that the drive is used for Windoze make a difference in this case? Is there something else I'm overlooking here? I'd appreciate any help that anyone can offer to fix this problem. I'd like to be able to boot into Linux without a floppy disk again and be able to use LILO properly. Ivan. Ivan, have you told lilo.conf, that it should boot windows from drive hda and linux from drive hdc ? Regards Kaj Haulrich Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.
IO I looked all over the Linux Documentation Project website for this IO information. I couldn't seem to find it anywhere so I was hoping someone IO could help me with it on this list. IO I'll explain my situation. IO I have two hard drives installed on my computer. IO hda is dedicated to Windoze. IO hdc is dedicated to Linux. IO When I install Linux (I've gone through the process a few times) it has me IO choose between LILO and GRUB. I have chosen LILO since I've read more about IO it than GRUB and I have a better understand of how it works. IO After installing and booting up, I get the choice of booting Linux-Secure, IO Linux, Linux Failsafe, or Windoze. Everything works fine like it should. IO When I installed I tried both the normal boot and also the nicer looking IO boot (the equivalent of vga=791 in the config. file), they both worked fine. IO The trouble comes afterwards. IO I edited my /etc/lilo.conf file, saved it, and then typed lilo into the IO shell. IO It returned a confirmation that the file was edited properly. IO When I restarted my computer the BIOS went through its normal checks and IO when it got to the OS Loading... part the screen starts filling with 01 IO 00 01 00 01 00 01 00 01 etc. Either a geometry mismatch or a 0x80 0x81 stuff trouble. IO I understood that this meant my MBR was corrupted, so I did a fdisk /mbr IO from my DOS bootdisk. This allowed me to get into Windoze normally and I IO could of course get into Linux using my Linux bootdisk. I restored the IO /etc/lilo.conf file to its original condition and typed lilo once more. IO When I restarted my computer the next time I got the same 1s and 0s. Nope this does not happen when mbr is corrupted. It is an error message of lilo actually. Until here I can say that there is a geometry mismatch or a bios hard disk boot priority problem. IO Considering that I took much care into editing the /etc/lilo.conf file IO originally, this leads me to believe that it wasn't the result of a typo in IO the file. Dont think so IO What it does lead me to believe is that the installation process writes to IO the MBR differently than LILO does from Linux. No they dont. But meanwhile something might have changed, that should be defined in lilo.conf IO I'm not sure if that's the IO case though. It's also possible that I'm doing something wrong somehow that IO I don't realize. Most probably. But sometimes some stuff needs to deep info. IO Is it possible that hda isn't being mounted properly IO before it's being written to? No need to mount it. Lilo deals with physichal sectors. IO Does the fact that the drive is used for IO Windoze make a difference in this case? Is there something else I'm IO overlooking here? IO I'd appreciate any help that anyone can offer to fix this problem. I'd like IO to be able to boot into Linux without a floppy disk again and be able to IO use LILO properly. IO Ivan. I can help you, I had gone too much deep into lilo. Here we have - Geometry mismatch. There may be some trouble with lilo, when it is trying to define your hard drives geometry. I dont know your lilo / MDK version, but with assumptions, there must be a lba32 line in your /etc/lilo.conf, so lilo will be able to access your disk that is larger than 8GB. - 0x80 0x81 stuff I said. This is deep. I had written a long mail once for this, in this list, but could not somehow find it in the archives. The thing is, When you boot your system, bios gives names to your devices. IDE devices (hard disks, cdroms etc) are given names 0x80, 0x81, etc. 80 is hda, 81 hdb (if exists). Unfortunately, MS products always assume they are 0x80. When a device is booted, bios assigns it a 0x80, does not matter if it is hda or hdc, so this confuses logic, this confuses lilo. What may affect you, did you chage your boot sequence from your bios? Did you have a previously installed cdrom at hdb, then removed (or vice versa) ? These are what I can think of now. If you give me more info, (how is your boot sequence defined in your bios, what are your hd~ devices, and their sizes, /etc/lilo.conf) I can help you about this. Onur Kucuk _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Re: [Newbie] LILO issues with 2 hard drives.
Since this will be a long post I snipped everything previous. I will post my IDE chain and my /etc/lilo.conf file and hopefully that will help everyone with determining what exactly I'm what I'm missing. ;) Primary IDE Master: 6.4 GIG EIDE Harddrive (aka hda) 3 partitions C:, E:, and F: in Windoze Primary IDE Slave: Iomega Zip 100 MB (I keep a disk in there due to the fact that certain times there's one expected, this alleviates confusion.) This shows up as D: in Windoze. Secondary IDE Master: 20.0 GIG EIDE Harddrive (aka hdc) 4 Partitions / (aka hdc1) Swap (aka hdc5) /usr (aka hdc6) /home (aka hdc7) Secondary IDE Slave: Plexwriter CD-RW Drive G: in Windoze My motherboard/BIOS does not support CD-ROM booting. AFAIK, hda is the primary boot device. I will double check my BIOS after sending this, but I believe that my BIOS doesn't have a method of adding the second harddrive (hdc) to the boot chain, only the floppy drive or the Primary IDE Master. Below is my /etc/lilo.conf file. One note about it, when I installed Linux, I setup a password with LILO. Now that I think about it, it never asked me for the password upon boot. I've added #comments below, these comments are not actually part of the file, I added them for this post. /etc/lilo.conf # Mandrake-Security : if you remove this comment, remove the next line too. password=** # I'm not telling. ;) boot=/dev/hda# If I understand correctly this should be telling LILO to boot off hda map=/boot/map# If I understand correctly this is where LILO stores the info on where each OS is and how to boot it install=/boot/boot.b # I'm not sure I understand this line vga=791 # So it looks nicer when it boots default=linux # This is the default OS for my LILO configuration, it will boot the image labeled as linux keytable=/boot/us.klt # This loads my keyboard configuration lba32 # This helps LILO (or is it Linux) work with my BIOS to see my hard drives correctly prompt # This allows me to choose which OS to load when I start my computer timeout=50 # If I don't choose, LILO loads the default after 5 seconds message=/boot/message # LILO displays the text of this file upon starting menu-scheme=wb:bw:wb:bw # I don't understand this line either, but I believe this defines the look of the LILO prompt # The last section defines the bootable OSes, defines their location, and gives each one a name image=/boot/vmlinuz-secure label=linux root=/dev/hdc1 append= mem=128M hdd=ide-scsi hdb=ide=floppy vga=788 read-only image=/boot/vmlinuz label=linux-up root=/dev/hdc1 append= mem=128M hdd=ide-scsi hdb=ide-floppy read-only image=/boot/vmlinuz label=failsafe root=/dev/hdc1 append= mem=128M hdd=ide-scsi hdb=ide-floppy failsafe read-only other=/dev/hda1 label=windows table=/dev/hda That should do it. I appreciate everyone helping me sort this out. Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.
Actually I did post my /etc/lilo.conf file earlier today. If you didn't receive it through this list let me know and I'll repost it. Ivan. At 03:15 PM 12/17/01 +, you wrote: Content-Type: text/plain; format=flowed X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.mandrakesoft.com id fBHFHJtC011754 Post your LILO file But I had something somewhat like your error when setting up two HD with two different ditros. HDA is my e-smith(firewall) and I have Mandrake on HDB. When installing mandrake on hdb it wrote the to mbr of hda. I would get those 01010101000 messages at boot time. What I needed to do was boot using a bootfloppy, into HDA, run lilo and that fix the problem. But what I had to do to boot from both HD's was to copy the /BOOT from hdb to a tmp directory on hda and fix the lilo.conf file hda to read the correct files for mandrake, but did indicate that harddrive for mandrake was hdb instead of hda. Run lilo again and all is well. I can boot into hda or hdb. I think the problem is that in the install of mandrake it ASSUMES that it's been installed HDA and not HDB, so when it created the lilo boot it didn't so any error checking that the image files and kernals are not found in hda. If you can swap drives, so that Linux will become hda and windowz hdb. From: Ivan Offalich [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] LILO issues with 2 hard drives. Date: Mon, 17 Dec 2001 08:56:55 -0600 In addition to my previous post... Here are my boot options from my BIOS. First Boot Device: Floppy Second Boot Device: Hard Disk Third Boot Device: Disabled Fourth Boot Device: Disabled The only possible choices to set these to are: Disabled Floppy Hard Disk Network As I had mentioned in my previous post there isn't a way to set any of these to the second hard drive. Setting it to Hard Disk assumes that the Primary Master is the boot drive. This is the newest version available for my BIOS. If any additional information can be of help, please let me know, Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.
I did go to thearchive of the mailing list and didn't see it. Repost it please. From: Ivan Offalich [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] LILO issues with 2 hard drives. Date: Mon, 17 Dec 2001 14:01:05 -0600 Actually I did post my /etc/lilo.conf file earlier today. If you didn't receive it through this list let me know and I'll repost it. Ivan. At 03:15 PM 12/17/01 +, you wrote: Content-Type: text/plain; format=flowed X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.mandrakesoft.com id fBHFHJtC011754 Post your LILO file But I had something somewhat like your error when setting up two HD with two different ditros. HDA is my e-smith(firewall) and I have Mandrake on HDB. When installing mandrake on hdb it wrote the to mbr of hda. I would get those 01010101000 messages at boot time. What I needed to do was boot using a bootfloppy, into HDA, run lilo and that fix the problem. But what I had to do to boot from both HD's was to copy the /BOOT from hdb to a tmp directory on hda and fix the lilo.conf file hda to read the correct files for mandrake, but did indicate that harddrive for mandrake was hdb instead of hda. Run lilo again and all is well. I can boot into hda or hdb. I think the problem is that in the install of mandrake it ASSUMES that it's been installed HDA and not HDB, so when it created the lilo boot it didn't so any error checking that the image files and kernals are not found in hda. If you can swap drives, so that Linux will become hda and windowz hdb. From: Ivan Offalich [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] LILO issues with 2 hard drives. Date: Mon, 17 Dec 2001 08:56:55 -0600 In addition to my previous post... Here are my boot options from my BIOS. First Boot Device: Floppy Second Boot Device: Hard Disk Third Boot Device: Disabled Fourth Boot Device: Disabled The only possible choices to set these to are: Disabled Floppy Hard Disk Network As I had mentioned in my previous post there isn't a way to set any of these to the second hard drive. Setting it to Hard Disk assumes that the Primary Master is the boot drive. This is the newest version available for my BIOS. If any additional information can be of help, please let me know, Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Re: [Newbie] LILO issues with 2 hard drives.
[Repost] At 08:10 AM 12/17/01 -0600, I wrote: Since this will be a long post I snipped everything previous. I will post my IDE chain and my /etc/lilo.conf file and hopefully that will help everyone with determining what exactly I'm what I'm missing. ;) Primary IDE Master: 6.4 GIG EIDE Harddrive (aka hda) 3 partitions C:, E:, and F: in Windoze Primary IDE Slave: Iomega Zip 100 MB (I keep a disk in there due to the fact that certain times there's one expected, this alleviates confusion.) This shows up as D: in Windoze. Secondary IDE Master: 20.0 GIG EIDE Harddrive (aka hdc) 4 Partitions / (aka hdc1) Swap (aka hdc5) /usr (aka hdc6) /home (aka hdc7) Secondary IDE Slave: Plexwriter CD-RW Drive G: in Windoze My motherboard/BIOS does not support CD-ROM booting. AFAIK, hda is the primary boot device. I will double check my BIOS after sending this, but I believe that my BIOS doesn't have a method of adding the second harddrive (hdc) to the boot chain, only the floppy drive or the Primary IDE Master. Below is my /etc/lilo.conf file. One note about it, when I installed Linux, I setup a password with LILO. Now that I think about it, it never asked me for the password upon boot. I've added #comments below, these comments are not actually part of the file, I added them for this post. /etc/lilo.conf # Mandrake-Security : if you remove this comment, remove the next line too. password=** # I'm not telling. ;) boot=/dev/hda# If I understand correctly this should be telling LILO to boot off hda map=/boot/map# If I understand correctly this is where LILO stores the info on where each OS is and how to boot it install=/boot/boot.b # I'm not sure I understand this line vga=791 # So it looks nicer when it boots default=linux # This is the default OS for my LILO configuration, it will boot the image labeled as linux keytable=/boot/us.klt # This loads my keyboard configuration lba32 # This helps LILO (or is it Linux) work with my BIOS to see my hard drives correctly prompt # This allows me to choose which OS to load when I start my computer timeout=50 # If I don't choose, LILO loads the default after 5 seconds message=/boot/message # LILO displays the text of this file upon starting menu-scheme=wb:bw:wb:bw # I don't understand this line either, but I believe this defines the look of the LILO prompt # The last section defines the bootable OSes, defines their location, and gives each one a name image=/boot/vmlinuz-secure label=linux root=/dev/hdc1 append= mem=128M hdd=ide-scsi hdb=ide=floppy vga=788 read-only image=/boot/vmlinuz label=linux-up root=/dev/hdc1 append= mem=128M hdd=ide-scsi hdb=ide-floppy read-only image=/boot/vmlinuz label=failsafe root=/dev/hdc1 append= mem=128M hdd=ide-scsi hdb=ide-floppy failsafe read-only other=/dev/hda1 label=windows table=/dev/hda That should do it. I appreciate everyone helping me sort this out. Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.
answer... you NEED the cd and dvd on the same IDE channel, and you NEED to use the slowest common speed (ie dma33) on each channel, and you NEED the ata 100 (special) ide cable On Monday 17 December 2001 15:26, you wrote: I did go to thearchive of the mailing list and didn't see it. Repost it please. From: Ivan Offalich [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] LILO issues with 2 hard drives. Date: Mon, 17 Dec 2001 14:01:05 -0600 Actually I did post my /etc/lilo.conf file earlier today. If you didn't receive it through this list let me know and I'll repost it. Ivan. At 03:15 PM 12/17/01 +, you wrote: Content-Type: text/plain; format=flowed X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.mandrakesoft.com id fBHFHJtC011754 Post your LILO file But I had something somewhat like your error when setting up two HD with two different ditros. HDA is my e-smith(firewall) and I have Mandrake on HDB. When installing mandrake on hdb it wrote the to mbr of hda. I would get those 01010101000 messages at boot time. What I needed to do was boot using a bootfloppy, into HDA, run lilo and that fix the problem. But what I had to do to boot from both HD's was to copy the /BOOT from hdb to a tmp directory on hda and fix the lilo.conf file hda to read the correct files for mandrake, but did indicate that harddrive for mandrake was hdb instead of hda. Run lilo again and all is well. I can boot into hda or hdb. I think the problem is that in the install of mandrake it ASSUMES that it's been installed HDA and not HDB, so when it created the lilo boot it didn't so any error checking that the image files and kernals are not found in hda. If you can swap drives, so that Linux will become hda and windowz hdb. From: Ivan Offalich [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] LILO issues with 2 hard drives. Date: Mon, 17 Dec 2001 08:56:55 -0600 In addition to my previous post... Here are my boot options from my BIOS. First Boot Device: Floppy Second Boot Device: Hard Disk Third Boot Device: Disabled Fourth Boot Device: Disabled The only possible choices to set these to are: Disabled Floppy Hard Disk Network As I had mentioned in my previous post there isn't a way to set any of these to the second hard drive. Setting it to Hard Disk assumes that the Primary Master is the boot drive. This is the newest version available for my BIOS. If any additional information can be of help, please let me know, Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re[2]: [newbie] LILO issues with 2 hard drives.
May you add the following disk=/dev/hda bios=0x80 disk=/dev/hdb bios=0x81 disk=/dev/hdc bios=0x82 disk=/dev/hdd bios=0x83 or if it does not work disk=/dev/hda bios=0x80 disk=/dev/hdc bios=0x81 to the /etc/lilo.conf right under the line boot=/dev/hda ? and of course run lilo, check if lilo gives an error output and check if it works ? Most probably, adding only disk=/dev/hdc bios=0x81 or disk=/dev/hdc bios=0x82 will fix it, just try which one solves and plz inform us :) And whitin your tests, please keep whatever is in hdb, in its place. Good Luck Onur Kucuk _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.
Ivan Offalich wrote: At 12:00 AM 12/18/01 +0200, Onur Kucuk wrote: May you add the following disk=/dev/hda bios=0x80 disk=/dev/hdb bios=0x81 disk=/dev/hdc bios=0x82 disk=/dev/hdd bios=0x83 snip You were right about adding the Octal addresses. (That is Octal, isn't it?) (I love it when I (think) I know something:) No, that's not octal, it's hex. Octal would not have an 8 in it -- only 0 thru 7.) Randy Kramer The first one you had me try (the one above setting all 4 devices) was apparently the correct one as it worked right away with no errors. I did a lilo -t to test it out and got no errors, so I then committed it and restarted the system, and my LILO menu was back where it belonged. Thank you very much for your help and your explanation into how LILO works and thank you to the other people that helped me to sort this out. Ivan. --- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] LILO issues with 2 hard drives.
I looked all over the Linux Documentation Project website for this information. I couldn't seem to find it anywhere so I was hoping someone could help me with it on this list. I'll explain my situation. I have two hard drives installed on my computer. hda is dedicated to Windoze. hdc is dedicated to Linux. When I install Linux (I've gone through the process a few times) it has me choose between LILO and GRUB. I have chosen LILO since I've read more about it than GRUB and I have a better understand of how it works. After installing and booting up, I get the choice of booting Linux-Secure, Linux, Linux Failsafe, or Windoze. Everything works fine like it should. When I installed I tried both the normal boot and also the nicer looking boot (the equivalent of vga=791 in the config. file), they both worked fine. The trouble comes afterwards. I edited my /etc/lilo.conf file, saved it, and then typed lilo into the shell. It returned a confirmation that the file was edited properly. When I restarted my computer the BIOS went through its normal checks and when it got to the OS Loading... part the screen starts filling with 01 00 01 00 01 00 01 00 01 etc. I understood that this meant my MBR was corrupted, so I did a fdisk /mbr from my DOS bootdisk. This allowed me to get into Windoze normally and I could of course get into Linux using my Linux bootdisk. I restored the /etc/lilo.conf file to its original condition and typed lilo once more. When I restarted my computer the next time I got the same 1s and 0s. Considering that I took much care into editing the /etc/lilo.conf file originally, this leads me to believe that it wasn't the result of a typo in the file. What it does lead me to believe is that the installation process writes to the MBR differently than LILO does from Linux. I'm not sure if that's the case though. It's also possible that I'm doing something wrong somehow that I don't realize. Is it possible that hda isn't being mounted properly before it's being written to? Does the fact that the drive is used for Windoze make a difference in this case? Is there something else I'm overlooking here? I'd appreciate any help that anyone can offer to fix this problem. I'd like to be able to boot into Linux without a floppy disk again and be able to use LILO properly. Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] LILO issues with 2 hard drives.
Eh, this may not be a lilo problem at all. Linux may be getting an erroneous report about the hard drive size (of the primary or secondary) and the location of the boot sector of the secondary. This would result in the behaviour you have seen. The initial installer may have received an erroneous report, now when you run LILO it's putting the location of the boot sectors at the wrong place in it's table. Of course it could be backwards. -JMS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ivan Offalich Sent: Sunday, December 16, 2001 8:58 PM To: Mandrake Newbie Subject: [newbie] LILO issues with 2 hard drives. I looked all over the Linux Documentation Project website for this information. I couldn't seem to find it anywhere so I was hoping someone could help me with it on this list. I'll explain my situation. I have two hard drives installed on my computer. hda is dedicated to Windoze. hdc is dedicated to Linux. When I install Linux (I've gone through the process a few times) it has me choose between LILO and GRUB. I have chosen LILO since I've read more about it than GRUB and I have a better understand of how it works. After installing and booting up, I get the choice of booting Linux-Secure, Linux, Linux Failsafe, or Windoze. Everything works fine like it should. When I installed I tried both the normal boot and also the nicer looking boot (the equivalent of vga=791 in the config. file), they both worked fine. The trouble comes afterwards. I edited my /etc/lilo.conf file, saved it, and then typed lilo into the shell. It returned a confirmation that the file was edited properly. When I restarted my computer the BIOS went through its normal checks and when it got to the OS Loading... part the screen starts filling with 01 00 01 00 01 00 01 00 01 etc. I understood that this meant my MBR was corrupted, so I did a fdisk /mbr from my DOS bootdisk. This allowed me to get into Windoze normally and I could of course get into Linux using my Linux bootdisk. I restored the /etc/lilo.conf file to its original condition and typed lilo once more. When I restarted my computer the next time I got the same 1s and 0s. Considering that I took much care into editing the /etc/lilo.conf file originally, this leads me to believe that it wasn't the result of a typo in the file. What it does lead me to believe is that the installation process writes to the MBR differently than LILO does from Linux. I'm not sure if that's the case though. It's also possible that I'm doing something wrong somehow that I don't realize. Is it possible that hda isn't being mounted properly before it's being written to? Does the fact that the drive is used for Windoze make a difference in this case? Is there something else I'm overlooking here? I'd appreciate any help that anyone can offer to fix this problem. I'd like to be able to boot into Linux without a floppy disk again and be able to use LILO properly. Ivan. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] LILO issues with 2 hard drives.
On Sunday 16 December 2001 20:57, you wrote: I looked all over the Linux Documentation Project website for this information. I couldn't seem to find it anywhere so I was hoping someone could help me with it on this list. I'll explain my situation. I have two hard drives installed on my computer. hda is dedicated to Windoze. hdc is dedicated to Linux. When I install Linux (I've gone through the process a few times) it has me choose between LILO and GRUB. I have chosen LILO since I've read more about it than GRUB and I have a better understand of how it works. After installing and booting up, I get the choice of booting Linux-Secure, Linux, Linux Failsafe, or Windoze. Everything works fine like it should. When I installed I tried both the normal boot and also the nicer looking boot (the equivalent of vga=791 in the config. file), they both worked fine. The trouble comes afterwards. I edited my /etc/lilo.conf file, saved it, and then typed lilo into the shell. It returned a confirmation that the file was edited properly. When I restarted my computer the BIOS went through its normal checks and when it got to the OS Loading... part the screen starts filling with 01 00 01 00 01 00 01 00 01 etc. I understood that this meant my MBR was corrupted, so I did a fdisk /mbr from my DOS bootdisk. This allowed me to get into Windoze normally and I could of course get into Linux using my Linux bootdisk. I restored the /etc/lilo.conf file to its original condition and typed lilo once more. When I restarted my computer the next time I got the same 1s and 0s. Considering that I took much care into editing the /etc/lilo.conf file originally, this leads me to believe that it wasn't the result of a typo in the file. What it does lead me to believe is that the installation process writes to the MBR differently than LILO does from Linux. I'm not sure if that's the case though. It's also possible that I'm doing something wrong somehow that I don't realize. Is it possible that hda isn't being mounted properly before it's being written to? Does the fact that the drive is used for Windoze make a difference in this case? Is there something else I'm overlooking here? I'd appreciate any help that anyone can offer to fix this problem. I'd like to be able to boot into Linux without a floppy disk again and be able to use LILO properly. Ivan. when you did this, did you take note of the harddrive showing in the lilo config. Since linux is on the second harddrive lilo probably wrote to that one and then when you boot now your computer is looking at hda not hdc for the config file where it isn't . Try setting it up again as before but make sure that it is configuring and writing to the hda drive. You should then get the screen to select the OS of your choice and all other intelligent beings on the planetLINUX-MANDRAKE ! (huge applause and cheers heard in the background). : ) -- Dennis M. registered linux user # 180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com