View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Lilo question
PostPosted: Mon Sep 11, 2006 6:32 pm 
Offline
Joined: Mon Sep 11, 2006 12:55 pm
Posts: 8
Location: Manchester, United Kingdom
Hi,

I've been struggling with the installation of KnoppMyth R5 D1 for some days now, and this looks without doubt the best site to post this question.

I wanted to set up KnoppMyth to dual boot with Windows XP. I have XP installed on my 60Gb primary master and followed the manual install procedures on the KnoppMythWiki site to install KnoppMyth onto my 80Gb primary slave.

However, I reached an impasse. Once the files had finished copying to hdb1, I rebooted, but was faced with a flashing cursor where Lilo was meant to appear. I'd been reading elsewhere on this forum that by running the following was supposed to fix the issue:

# mount -o rw,dev /dev/hdb1
# chroot /mnt/hdb1
# lilo -v

This gave an error, saying it didn't like something on line 2. When I looked, line 2 was referring to /dev/hda, so I commented this out and ran the 'lilo -v' command again.

This time, it ran, and gave me the following:

Reading boot sector from /dev/hda1
Warning: '/proc/partitions' does not exist, disk scan bypassed
Warning: partition type 0x07 on device 0x0301 is a dangerous place for
a boot sector.

Proceed? [N|y]

This is the point I'm at. Is this normal, and should I go ahead with it? I'm obviously err'ing on the side of caution here as I don't want to lose my Windows installation. Any pointers would be really appreciated.

Thanks in advance

Rob.

_________________
Athlon XP 1800+ Asus A7V333
1GB DDR333 (1 x 512 & 2 x 256)
Prim: 60GB (master), 80GB (slave)
Sec: DVD-RW (master), CD-RW/DVD (slave)
GeForce 6600GT 128MB
Creative Soundblaster Live! Value
DVB-T 100 tuner
IBM 10/100 & D-Link Gigabit NICs


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 11, 2006 6:45 pm 
Offline
Joined: Mon Sep 11, 2006 12:55 pm
Posts: 8
Location: Manchester, United Kingdom
Apologies, I believe I've posted this in the wrong place.

Sorry Cecil :oops:

_________________
Athlon XP 1800+ Asus A7V333
1GB DDR333 (1 x 512 & 2 x 256)
Prim: 60GB (master), 80GB (slave)
Sec: DVD-RW (master), CD-RW/DVD (slave)
GeForce 6600GT 128MB
Creative Soundblaster Live! Value
DVB-T 100 tuner
IBM 10/100 & D-Link Gigabit NICs


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 12, 2006 9:19 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
lilo is going to have to install to your primary master, ie. the /dev/hda was correct.
What was lilo's exact message?

what was the line?: boot=/dev/hda

you should also have the line: root=/dev/hdb1

dig around on the forum and google for problems with dual booting linux and xp with
lilo.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 12, 2006 1:00 pm 
Offline
Joined: Mon Sep 11, 2006 12:55 pm
Posts: 8
Location: Manchester, United Kingdom
Hi mac,

The line I took out of /etc/lilo.conf was:

part: /dev/hda1 typ: 7

When I run lilo -v with this in, it says:

Unrecognized token "part:" at or above line 2 in file '/etc/lilo.conf'

If I comment this out, lilo -v gets further but displays what I originally posted (the warnings). Do you think this should be ok to leave out and proceed with the lilo config?

_________________
Athlon XP 1800+ Asus A7V333
1GB DDR333 (1 x 512 & 2 x 256)
Prim: 60GB (master), 80GB (slave)
Sec: DVD-RW (master), CD-RW/DVD (slave)
GeForce 6600GT 128MB
Creative Soundblaster Live! Value
DVB-T 100 tuner
IBM 10/100 & D-Link Gigabit NICs


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 12, 2006 1:38 pm 
Offline
Joined: Mon Sep 11, 2006 12:55 pm
Posts: 8
Location: Manchester, United Kingdom
Ok, I actually commented the top two lines from the /etc/lilo.conf file, which were (apparently shouldn't have been there in the first place):

vga = normal
part: /dev/hda1 typ: 7

and went ahead with the lilo -v, entering 'y' to proceed. Now, however, I get the following:

Fatal: Filesystem would be destroyed by LILO boot sector: /dev/hda1

AAARGGHH! What now?! [eyes shut & breathing slowly]

_________________
Athlon XP 1800+ Asus A7V333
1GB DDR333 (1 x 512 & 2 x 256)
Prim: 60GB (master), 80GB (slave)
Sec: DVD-RW (master), CD-RW/DVD (slave)
GeForce 6600GT 128MB
Creative Soundblaster Live! Value
DVB-T 100 tuner
IBM 10/100 & D-Link Gigabit NICs


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 12, 2006 3:53 pm 
Offline
Joined: Tue Nov 08, 2005 7:31 am
Posts: 195
Location: Secret Lair
Try just "/dev/hda". You probably want in in the boot sector of the disk, not the first partiton...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 12, 2006 5:39 pm 
Offline
Joined: Mon Sep 11, 2006 12:55 pm
Posts: 8
Location: Manchester, United Kingdom
Hi,

I changed the following line in /etc/lilo.conf:

boot = /dev/hda1

to

boot = /dev/hda

and it seems to have worked. I've booted straight into Windows to let you know (haven't tried Linux yet), so mac & EvilTwin, thanks very much for your input.

Cheers

Rob.

_________________
Athlon XP 1800+ Asus A7V333
1GB DDR333 (1 x 512 & 2 x 256)
Prim: 60GB (master), 80GB (slave)
Sec: DVD-RW (master), CD-RW/DVD (slave)
GeForce 6600GT 128MB
Creative Soundblaster Live! Value
DVB-T 100 tuner
IBM 10/100 & D-Link Gigabit NICs


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu