LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2005, 01:25 PM   #1
Halsafar
Member
 
Registered: Sep 2005
Posts: 37

Rep: Reputation: 15
Manually Install LiLo via Installation Shell


Okay, I need to put LiLo onto the first sector of the linux root partition I believe....

Then I need to copy the first 512 bytes of that partition to a Fat32 Partition as a file called Linux.bin -- this will allow me to boot up Linux using the WinXP Bootloader.

Now I have VectorLinux installed, of course as usual the LiLo part failed and it has left me to do it manually.

Here are the steps I need help with:

- chroot or something to get the shell actually into Linux
- install LiLo onto the first sector of the linux boot partition (root I believe)
- LiLo CANNOT go on the MBR! It will corrupt windows. I do not have a floppy drive.

Here are my partitions:
hda5 - swap - Linux Swap
hda6 - root - Ext3
hda7 - home - Ext3
hda8 - winLinux - Fat32



Please, give me detail down to exactly what I should type cuz Im' still a bit new to the Linux command shell.
 
Old 09-23-2005, 04:28 PM   #2
Halsafar
Member
 
Registered: Sep 2005
Posts: 37

Original Poster
Rep: Reputation: 15
This is as far as I can get:

(Note my hard drive is known as sda for some reason to linux)

mkdir /mnt/sda6
mount /dev/sda6 /mnt/sda6
chroot /mnt/sda6

That all works fine, the next step is where I am lost.

lilo -b /dev/sda6 returns many errors...
I need to get lilo onto the first sector of the root partition.
 
Old 09-23-2005, 05:31 PM   #3
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Your've already chroot'ed your linux installation. now edit /mnt/sda6/etc/lilo.conf to point to /dev/hda6 and rerun lilo in order to get it installed.

The easy way: i recall, VectorLinux is Slackware based. So could you run lilosetup utility from the chroot'ed partition??

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i install lilo manually? Alexander.s Linux - Software 3 06-07-2005 03:41 PM
How do I manually install NIC and How do I make lilo work? Dryfter Slackware 4 05-01-2005 05:06 PM
How to install lilo manually kool_kid Slackware - Installation 17 02-03-2005 12:40 PM
Slackware installation - Unable to install LILO csvke Slackware 8 01-19-2005 01:24 AM
How do I manually install LILO? Choey Slackware 5 06-19-2004 12:36 AM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration