Re: [expert] Changing bootable partition
On Sat, 06 May 2000, you wrote: > I have Mandrake 7.0 installed and have to use a boot disk. Lilo stops with > "LI". I ran fdisk and it shows /dev/hda3 to be the bootable partition, but > /boot is on /dev/hda1. Can someone tell me how to flag hda1 as bootable > without messing up my installation? > Change your boot point to /dev/hda instead of hda1. hda1 is the first partition on the primary IDE drive. You need to put LILO in teh MBR which is /dev/hda. John
Re: [expert] Changing bootable partition
On Sun, 07 May 2000, you wrote: > I don't know how to fix your problem, but I do know that it ISN'T the > bootable flag. My bootable partition is hda3, which is Win98 (was, actually - > Win98 corrupted itself and I haven't bothered to fix it). My /boot is hda5, > which is NOT flagged bootable. > The one time I had your problem, I just booted from a floppy and ran lilo. > That fixed it. YMMV. > > > > edit /etc/lilo.conf and make /dev/hda your location for LILO. Make the "boot=" line look like this: boot=/dev/hda Then, rerun /sbin/lilo as root. That'll fix it. John
Re: [expert] Changing bootable partition
Kenwhoops! Sorry about that. initrd.img is only necessary when you boot off of a scsi hard drive. Forget the initrd= line in lilo.conf if you don't have any scsi drives. :-) Alan Ken Archer wrote: > > I don't have the "initrd=/boot/initrd.img" line in lilo.conf that was written > on the original install. I also can't find a initrd.img file with locate. > > On Sun, 07 May 2000, you wrote: > > > Also there are a series of lines indicating where files > > necessary to the boot process may be founnd in the mounted > > filesystem. > > > > map=/boot/map > > install=/boot/boot.b > > keytable=/boot/us.klt > > image=/boot/vmlinuz > > initrd=/boot/initrd.img > > > > So on your system, lilo must already be installed on the mbr > > or you wouldn't be getting the LI. But the LI indicates that > > it can't find a file necessary to the booting process, so the > > root= line needs to be correct as do the map=, install=, > > keytable=, image=, and initrd= lines. > > > > As root you need to edit the /etc/lilo.conf file and when > > you've got all these lines corrected then issue this command > > at a command line as root: > -- > Kenneth Archer + San Antonio, Texas > [EMAIL PROTECTED] ICQ #24980801 > Powered by Linux ++ Mailed by Kmail
Re: [expert] Changing bootable partition
On Sun, 07 May 2000, Ken Archer wrote: | I don't have the "initrd=/boot/initrd.img" line in lilo.conf that was written | on the original install. I also can't find a initrd.img file with locate. | Not everyone has/needs an initrd. Generally, it is used to load modules that the kernel needs to have available to it at boot time (example: SCSI disk drivers on systems that boot from SCSI). | On Sun, 07 May 2000, you wrote: | | > Also there are a series of lines indicating where files | > necessary to the boot process may be founnd in the mounted | > filesystem. | > | > map=/boot/map | > install=/boot/boot.b | > keytable=/boot/us.klt | > image=/boot/vmlinuz | > initrd=/boot/initrd.img | > | > So on your system, lilo must already be installed on the mbr | > or you wouldn't be getting the LI. But the LI indicates that | > it can't find a file necessary to the booting process, so the | > root= line needs to be correct as do the map=, install=, | > keytable=, image=, and initrd= lines. | > | > As root you need to edit the /etc/lilo.conf file and when | > you've got all these lines corrected then issue this command | > at a command line as root: -- ~A
Re: [expert] Changing bootable partition
I don't have the "initrd=/boot/initrd.img" line in lilo.conf that was written on the original install. I also can't find a initrd.img file with locate. On Sun, 07 May 2000, you wrote: > Also there are a series of lines indicating where files > necessary to the boot process may be founnd in the mounted > filesystem. > > map=/boot/map > install=/boot/boot.b > keytable=/boot/us.klt > image=/boot/vmlinuz > initrd=/boot/initrd.img > > So on your system, lilo must already be installed on the mbr > or you wouldn't be getting the LI. But the LI indicates that > it can't find a file necessary to the booting process, so the > root= line needs to be correct as do the map=, install=, > keytable=, image=, and initrd= lines. > > As root you need to edit the /etc/lilo.conf file and when > you've got all these lines corrected then issue this command > at a command line as root: -- Kenneth Archer + San Antonio, Texas [EMAIL PROTECTED] ICQ #24980801 Powered by Linux ++ Mailed by Kmail
[newbie] Re: [expert] Changing bootable partition
Kenthe asterisk in the boot column of the p option of fdisk really has no importance in Linux. The first line of the /etc/lilo.conf file controls where lilo gets installed (the below example shows lilo installed on the mbr): boot=/dev/hda if a number follows the a, like below: boot=/dev/hdaX then the X stands for the number of the partition (not the mbr) where lilo is installed. later in the file there is a line that reads: root=/dev/hdaX where X is the number of the partition that is to be mounted as the root partition of the filesystem. Also there are a series of lines indicating where files necessary to the boot process may be founnd in the mounted filesystem. map=/boot/map install=/boot/boot.b keytable=/boot/us.klt image=/boot/vmlinuz initrd=/boot/initrd.img So on your system, lilo must already be installed on the mbr or you wouldn't be getting the LI. But the LI indicates that it can't find a file necessary to the booting process, so the root= line needs to be correct as do the map=, install=, keytable=, image=, and initrd= lines. As root you need to edit the /etc/lilo.conf file and when you've got all these lines corrected then issue this command at a command line as root: /sbin/lilo This will write lilo to the partition indicated in the first line of /etc/lilo.conf with any changed information in /etc/lilo.conf included. After this you should be able to boot successfully from the hard drive. Alan Ken Archer wrote: > > I have Mandrake 7.0 installed and have to use a boot disk. Lilo stops with > "LI". I ran fdisk and it shows /dev/hda3 to be the bootable partition, but > /boot is on /dev/hda1. Can someone tell me how to flag hda1 as bootable > without messing up my installation? > > -- > Kenneth Archer + San Antonio, Texas > [EMAIL PROTECTED] ICQ #24980801 > Powered by Linux ++ Mailed by Kmail
Re: [expert] Changing bootable partition
Kenthe asterisk in the boot column of the p option of fdisk really has no importance in Linux. The first line of the /etc/lilo.conf file controls where lilo gets installed (the below example shows lilo installed on the mbr): boot=/dev/hda if a number follows the a, like below: boot=/dev/hdaX then the X stands for the number of the partition (not the mbr) where lilo is installed. later in the file there is a line that reads: root=/dev/hdaX where X is the number of the partition that is to be mounted as the root partition of the filesystem. Also there are a series of lines indicating where files necessary to the boot process may be founnd in the mounted filesystem. map=/boot/map install=/boot/boot.b keytable=/boot/us.klt image=/boot/vmlinuz initrd=/boot/initrd.img So on your system, lilo must already be installed on the mbr or you wouldn't be getting the LI. But the LI indicates that it can't find a file necessary to the booting process, so the root= line needs to be correct as do the map=, install=, keytable=, image=, and initrd= lines. As root you need to edit the /etc/lilo.conf file and when you've got all these lines corrected then issue this command at a command line as root: /sbin/lilo This will write lilo to the partition indicated in the first line of /etc/lilo.conf with any changed information in /etc/lilo.conf included. After this you should be able to boot successfully from the hard drive. Alan Ken Archer wrote: > > I have Mandrake 7.0 installed and have to use a boot disk. Lilo stops with > "LI". I ran fdisk and it shows /dev/hda3 to be the bootable partition, but > /boot is on /dev/hda1. Can someone tell me how to flag hda1 as bootable > without messing up my installation? > > -- > Kenneth Archer + San Antonio, Texas > [EMAIL PROTECTED] ICQ #24980801 > Powered by Linux ++ Mailed by Kmail
Re: [expert] Changing bootable partition
I don't know how to fix your problem, but I do know that it ISN'T the bootable flag. My bootable partition is hda3, which is Win98 (was, actually - Win98 corrupted itself and I haven't bothered to fix it). My /boot is hda5, which is NOT flagged bootable. The one time I had your problem, I just booted from a floppy and ran lilo. That fixed it. YMMV. --- Ken Archer <[EMAIL PROTECTED]> wrote: > I have Mandrake 7.0 installed and have to use a boot disk. Lilo stops with > "LI". I ran fdisk and it shows /dev/hda3 to be the bootable partition, but > /boot is on /dev/hda1. Can someone tell me how to flag hda1 as bootable > without messing up my installation? > > -- > Kenneth Archer + San Antonio, Texas > [EMAIL PROTECTED] ICQ #24980801 > Powered by Linux ++ Mailed by Kmail > > = Mage Grimau, Strange Unwashed & Somewhat Slightly Dazed VoiceMail/Fax: 1-651-328-1145 __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
[expert] Changing bootable partition
I have Mandrake 7.0 installed and have to use a boot disk. Lilo stops with "LI". I ran fdisk and it shows /dev/hda3 to be the bootable partition, but /boot is on /dev/hda1. Can someone tell me how to flag hda1 as bootable without messing up my installation? -- Kenneth Archer + San Antonio, Texas [EMAIL PROTECTED] ICQ #24980801 Powered by Linux ++ Mailed by Kmail