Re: [newbie] bootloader reinstall prob.

2004-04-11 Thread Frank




Hi
My mail seems to be getting returned a lot lately though it also appears to get through, not sure where the problem is.

As to editing lilo, be sure you are convinced of what you are doing, try the following:

At a command konsole, sign in as su:

$su
Password

Then:

#vim /etc/lilo.conf

Key the letter i

Arrow down to what you want to remove and do the Delete/Backspace thing to edit out, then:

Type in:

:wq

And press enter.

AND DON'T FORGET THIS NEXT PART!

Issue the following:

#/sbin/lilo

And if you get errors, go back to the start and correct the bits indicated by the errors.

Enjoy

Frank

On Sun, 2004-04-11 at 07:45, martin brandt wrote:

Quoting martin brandt [EMAIL PROTECTED]:

 Quoting John Richard Smith [EMAIL PROTECTED]:
 
  martin brandt wrote:
  
  Quoting et [EMAIL PROTECTED]:
  

  
  OK so /home is a seperate partition /dev/hda3
  and something is wrong with the lilo.conf entry that prohibits
  
  reinstalling
  
  it in the usual manner
  
  What you have to do now is go back into rescue mode as before and
 choose
  consule   and when there you will have to learn how to mount the
  partition
  (cannot remember, possibly rescue already does that, think it does) and
  then type vi (the name of the text editor) and repair the incorrect
 entry
  
  in /etc/lilo.conf, I cannot advise you of the entry as I do not have a
  seperate /home partition to give an example of, but in anycase first
 you
  have to type vi into google and print of some vi text editor
 instruction,
  as although it is a very powerful text editor it certainly will baffle
  the
  newbie.
  
  
  If you do need to mount /dev/hda(X) then you do it like this,
  
  mkdir /mnt/temp
  ls /mnt
  temp
  mount /dev/hda(X) /mnt/temp
  
  punch up vi something like this,
  
  vi /mnt/temp/etc/lilo.conf
  
  and I think that will display lilo.conf in vi
  
  John
  
  -- 
  linux counter #167806
  
  
  
  Im trying to find the lil.conf but i cantg seem to find it. Ive looked in
  /etc/ 
  and in mnt/temp/etc (temp doesnt exist). Where might it be? Might it
 called
  
  something else? 
  Thanks.
  
  
  Hmmm,
  Then I think the partition on which the /etc/lilo.conf is on is not
 mounted
  
  You don't find /mnt/temp,
  you create it in the rescue consule, like this,
  
  mkdir /mnt/temp
  
  then check to see that you did,
  
  ls /mnt/temp
  
  returns, temp (amoungst other , probably)
  
  then attatch the device/partition to that directory, like this,
  
  mount /dev/hda(X) /mnt/temp
  
  where (X) is the number of your OS's partition, ie where you installed 
  the OS.
  
  then if you like you can navigate in consule to the /etc/lilo.conf
  and look at it, like this,
  
  cd (means change directory)
  
  cd /mnt/temp/etc/
  
  that puts you inside /etc directory of the OS,
  and from there you can display the
  file on screen with,
  
  cat /lilo.conf
  
  then make a note of the stanzas to do with /home partition
  and report, we can take it from there.
  
  John
  
  
  
  -- 
  John Richard Smith
  [EMAIL PROTECTED] 
  
  
  
  
 

 Ah ha! Well my linux partition is hda5, mounted that, and in the lilo.conf i
 
 found:
 
 other=/dev/hda3
 label=old_windows
 table=/dev/hda
 
 Now I installed windows over my old windows partition, which an image of
 seems 
 to still appear in the windows boot loader, and obviously is causing problems
 
 when booting on linux. I need to remove this but how?
 
 (P.S. Is it me or is everyone else's mail getting returned occaisionally?)






Re: [newbie] bootloader reinstall prob.

2004-04-10 Thread martin brandt
Quoting John Richard Smith [EMAIL PROTECTED]:

 martin brandt wrote:
 
 Quoting et [EMAIL PROTECTED]:
 
   
 
 OK so /home is a seperate partition /dev/hda3
 and something is wrong with the lilo.conf entry that prohibits
 
 reinstalling
 
 it in the usual manner
 
 What you have to do now is go back into rescue mode as before and choose
 consule   and when there you will have to learn how to mount the
 partition
 (cannot remember, possibly rescue already does that, think it does) and
 then type vi (the name of the text editor) and repair the incorrect entry
 
 in /etc/lilo.conf, I cannot advise you of the entry as I do not have a
 seperate /home partition to give an example of, but in anycase first you
 have to type vi into google and print of some vi text editor instruction,
 as although it is a very powerful text editor it certainly will baffle
 the
 newbie.
 
 
 If you do need to mount /dev/hda(X) then you do it like this,
 
 mkdir /mnt/temp
 ls /mnt
 temp
 mount /dev/hda(X) /mnt/temp
 
 punch up vi something like this,
 
 vi /mnt/temp/etc/lilo.conf
 
 and I think that will display lilo.conf in vi
 
 John
 
 -- 
 linux counter #167806
 
 
 
 Im trying to find the lil.conf but i cantg seem to find it. Ive looked in
 /etc/ 
 and in mnt/temp/etc (temp doesnt exist). Where might it be? Might it called
 
 something else? 
 Thanks.
 
 
 Hmmm,
 Then I think the partition on which the /etc/lilo.conf is on is not mounted
 
 You don't find /mnt/temp,
 you create it in the rescue consule, like this,
 
 mkdir /mnt/temp
 
 then check to see that you did,
 
 ls /mnt/temp
 
 returns, temp (amoungst other , probably)
 
 then attatch the device/partition to that directory, like this,
 
 mount /dev/hda(X) /mnt/temp
 
 where (X) is the number of your OS's partition, ie where you installed 
 the OS.
 
 then if you like you can navigate in consule to the /etc/lilo.conf
 and look at it, like this,
 
 cd (means change directory)
 
 cd /mnt/temp/etc/
 
 that puts you inside /etc directory of the OS,
 and from there you can display the
 file on screen with,
 
 cat /lilo.conf
 
 then make a note of the stanzas to do with /home partition
 and report, we can take it from there.
 
 John
 
 
 
 -- 
 John Richard Smith
 [EMAIL PROTECTED] 
 
 
 
 
 

Ah ha! Well my linux partition is hda5, mounted that, and in the lilo.conf i 
found:

other=/dev/hda3
label=old_windows
table=/dev/hda

Now I installed windows over my old windows partition, which an image of seems 
to still appear in the windows boot loader, and obviously is causing problems 
when booting on linux. I need to remove this but how?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] bootloader reinstall prob.

2004-04-10 Thread martin brandt
Quoting martin brandt [EMAIL PROTECTED]:

 Quoting John Richard Smith [EMAIL PROTECTED]:
 
  martin brandt wrote:
  
  Quoting et [EMAIL PROTECTED]:
  

  
  OK so /home is a seperate partition /dev/hda3
  and something is wrong with the lilo.conf entry that prohibits
  
  reinstalling
  
  it in the usual manner
  
  What you have to do now is go back into rescue mode as before and
 choose
  consule   and when there you will have to learn how to mount the
  partition
  (cannot remember, possibly rescue already does that, think it does) and
  then type vi (the name of the text editor) and repair the incorrect
 entry
  
  in /etc/lilo.conf, I cannot advise you of the entry as I do not have a
  seperate /home partition to give an example of, but in anycase first
 you
  have to type vi into google and print of some vi text editor
 instruction,
  as although it is a very powerful text editor it certainly will baffle
  the
  newbie.
  
  
  If you do need to mount /dev/hda(X) then you do it like this,
  
  mkdir /mnt/temp
  ls /mnt
  temp
  mount /dev/hda(X) /mnt/temp
  
  punch up vi something like this,
  
  vi /mnt/temp/etc/lilo.conf
  
  and I think that will display lilo.conf in vi
  
  John
  
  -- 
  linux counter #167806
  
  
  
  Im trying to find the lil.conf but i cantg seem to find it. Ive looked in
  /etc/ 
  and in mnt/temp/etc (temp doesnt exist). Where might it be? Might it
 called
  
  something else? 
  Thanks.
  
  
  Hmmm,
  Then I think the partition on which the /etc/lilo.conf is on is not
 mounted
  
  You don't find /mnt/temp,
  you create it in the rescue consule, like this,
  
  mkdir /mnt/temp
  
  then check to see that you did,
  
  ls /mnt/temp
  
  returns, temp (amoungst other , probably)
  
  then attatch the device/partition to that directory, like this,
  
  mount /dev/hda(X) /mnt/temp
  
  where (X) is the number of your OS's partition, ie where you installed 
  the OS.
  
  then if you like you can navigate in consule to the /etc/lilo.conf
  and look at it, like this,
  
  cd (means change directory)
  
  cd /mnt/temp/etc/
  
  that puts you inside /etc directory of the OS,
  and from there you can display the
  file on screen with,
  
  cat /lilo.conf
  
  then make a note of the stanzas to do with /home partition
  and report, we can take it from there.
  
  John
  
  
  
  -- 
  John Richard Smith
  [EMAIL PROTECTED] 
  
  
  
  
 
 
 Ah ha! Well my linux partition is hda5, mounted that, and in the lilo.conf i
 
 found:
 
 other=/dev/hda3
 label=old_windows
 table=/dev/hda
 
 Now I installed windows over my old windows partition, which an image of
 seems 
 to still appear in the windows boot loader, and obviously is causing problems
 
 when booting on linux. I need to remove this but how?
 
 (P.S. Is it me or is everyone else's mail getting returned occaisionally?)


-- 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] bootloader reinstall prob.

2004-04-10 Thread mworkman
On Sat, 2004-04-10 at 15:45, martin brandt wrote:
 Quoting martin brandt [EMAIL PROTECTED]:
 
  Quoting John Richard Smith [EMAIL PROTECTED]:
  
   martin brandt wrote:
   
   Quoting et [EMAIL PROTECTED]:
   
 
   
   OK so /home is a seperate partition /dev/hda3
   and something is wrong with the lilo.conf entry that prohibits
   
   reinstalling
   
   it in the usual manner
   
   What you have to do now is go back into rescue mode as before and
  choose
   consule   and when there you will have to learn how to mount the
   partition
   (cannot remember, possibly rescue already does that, think it does) and
   then type vi (the name of the text editor) and repair the incorrect
  entry
   
   in /etc/lilo.conf, I cannot advise you of the entry as I do not have a
   seperate /home partition to give an example of, but in anycase first
  you
   have to type vi into google and print of some vi text editor
  instruction,
   as although it is a very powerful text editor it certainly will baffle
   the
   newbie.
   
   
   If you do need to mount /dev/hda(X) then you do it like this,
   
   mkdir /mnt/temp
   ls /mnt
   temp
   mount /dev/hda(X) /mnt/temp
   
   punch up vi something like this,
   
   vi /mnt/temp/etc/lilo.conf
   
   and I think that will display lilo.conf in vi
   
   John
   
   -- 
   linux counter #167806
   
   
   
   Im trying to find the lil.conf but i cantg seem to find it. Ive looked in
   /etc/ 
   and in mnt/temp/etc (temp doesnt exist). Where might it be? Might it
  called
   
   something else? 
   Thanks.
   
   
   Hmmm,
   Then I think the partition on which the /etc/lilo.conf is on is not
  mounted
   
   You don't find /mnt/temp,
   you create it in the rescue consule, like this,
   
   mkdir /mnt/temp
   
   then check to see that you did,
   
   ls /mnt/temp
   
   returns, temp (amoungst other , probably)
   
   then attatch the device/partition to that directory, like this,
   
   mount /dev/hda(X) /mnt/temp
   
   where (X) is the number of your OS's partition, ie where you installed 
   the OS.
   
   then if you like you can navigate in consule to the /etc/lilo.conf
   and look at it, like this,
   
   cd (means change directory)
   
   cd /mnt/temp/etc/
   
   that puts you inside /etc directory of the OS,
   and from there you can display the
   file on screen with,
   
   cat /lilo.conf
   
   then make a note of the stanzas to do with /home partition
   and report, we can take it from there.
   
   John
   -- 
   John Richard Smith
   [EMAIL PROTECTED] 
   
 
  Ah ha! Well my linux partition is hda5, mounted that, and in the lilo.conf i
  
  found:
  
  other=/dev/hda3
  label=old_windows
  table=/dev/hda
  
  Now I installed windows over my old windows partition, which an image of
  seems 
  to still appear in the windows boot loader, and obviously is causing problems
  
  when booting on linux. I need to remove this but how?
  
  (P.S. Is it me or is everyone else's mail getting returned occaisionally?)
 

Would fdisk /mbr from the prompt of a windows boot up disk work???



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] bootloader reinstall prob.

2004-04-09 Thread martin brandt
Quoting et [EMAIL PROTECTED]:

 On Friday 09 April 2004 09:01 am, John Richard Smith wrote:
  martin brandt wrote:
  Quoting Stephen Kuhn [EMAIL PROTECTED]:
  On Fri, 2004-04-09 at 08:54, martin brandt wrote:
  After installing a windows boot, i then wanted to reinstall my linux
  bootloader, which i have had to do quite often with the regular
  
  reinstallations
  
  needed by windows ;)
  I loaded from my mdk 9.2 disc and executed the rescue command. This
 time
  however i got an error. I got:
  
  Added linux *
  Added linux-nonfb
  Added windows
  Added floppy
  Added failsafe
  Fatal:lseek /dev/hda3 : Invalid argument
  
  Now im guessing there is something wrong with my hda3 partition :( what
   can
  
  i
  
  do?
  
  Thanks
  
  What is ON /dev/hda3 ??
  Else, remove it from your lilo.conf and re-run lilo.
  
  stephen kuhn - owner
  ==
  illawarra computer services
  a kuhn media australia company
  http://kma.0catch.com
  --
* This message was composed on a 100% Microsoft free computer *
We expressly refuse to utilise Microsoft DRM encoded documents
  --
  Don't tell me how hard you work. Tell me how much you get done. -- James
  J. Ling
  
  hda3 is my home directory. I forgot to mention, because i cant reinstall
   the boot loader, i cant get onto my linux boot. If i can id rather not
   have to format hda3, but i wont matter too much if i do have to. Even
   when i try to reinstall/update mdk i get the same error.
 
 how do you come to think hda_3_ is a valid directory?  usaully hda1 and had5
 
 are valid, but due to only 1 primary partition per physical drive rules, 
 hda2,3,4 are usually hidden 
 
  OK so /home is a seperate partition /dev/hda3
  and something is wrong with the lilo.conf entry that prohibits
 reinstalling
  it in the usual manner
 
  What you have to do now is go back into rescue mode as before and choose
  consule   and when there you will have to learn how to mount the partition
  (cannot remember, possibly rescue already does that, think it does) and
  then type vi (the name of the text editor) and repair the incorrect entry 
  in /etc/lilo.conf, I cannot advise you of the entry as I do not have a
  seperate /home partition to give an example of, but in anycase first you
  have to type vi into google and print of some vi text editor instruction,
  as although it is a very powerful text editor it certainly will baffle the
  newbie.
 
 
  If you do need to mount /dev/hda(X) then you do it like this,
 
  mkdir /mnt/temp
  ls /mnt
  temp
  mount /dev/hda(X) /mnt/temp
 
  punch up vi something like this,
 
  vi /mnt/temp/etc/lilo.conf
 
  and I think that will display lilo.conf in vi
 
  John
 
 -- 
 linux counter #167806
 
 

Im trying to find the lil.conf but i cantg seem to find it. Ive looked in /etc/ 
and in mnt/temp/etc (temp doesnt exist). Where might it be? Might it called 
something else? 
Thanks.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] bootloader reinstall prob.

2004-04-09 Thread John Richard Smith
martin brandt wrote:

Quoting et [EMAIL PROTECTED]:

 

OK so /home is a seperate partition /dev/hda3
and something is wrong with the lilo.conf entry that prohibits
reinstalling

it in the usual manner

What you have to do now is go back into rescue mode as before and choose
consule   and when there you will have to learn how to mount the partition
(cannot remember, possibly rescue already does that, think it does) and
then type vi (the name of the text editor) and repair the incorrect entry 
in /etc/lilo.conf, I cannot advise you of the entry as I do not have a
seperate /home partition to give an example of, but in anycase first you
have to type vi into google and print of some vi text editor instruction,
as although it is a very powerful text editor it certainly will baffle the
newbie.

If you do need to mount /dev/hda(X) then you do it like this,

mkdir /mnt/temp
ls /mnt
temp
mount /dev/hda(X) /mnt/temp
punch up vi something like this,

vi /mnt/temp/etc/lilo.conf

and I think that will display lilo.conf in vi

John

--
linux counter #167806

Im trying to find the lil.conf but i cantg seem to find it. Ive looked in /etc/ 
and in mnt/temp/etc (temp doesnt exist). Where might it be? Might it called 
something else? 
Thanks.


Hmmm,
Then I think the partition on which the /etc/lilo.conf is on is not mounted
You don't find /mnt/temp,
you create it in the rescue consule, like this,
mkdir /mnt/temp

then check to see that you did,

ls /mnt/temp

returns, temp (amoungst other , probably)

then attatch the device/partition to that directory, like this,

mount /dev/hda(X) /mnt/temp

where (X) is the number of your OS's partition, ie where you installed 
the OS.

then if you like you can navigate in consule to the /etc/lilo.conf
and look at it, like this,
cd (means change directory)

cd /mnt/temp/etc/

that puts you inside /etc directory of the OS,
and from there you can display the
file on screen with,
cat /lilo.conf

then make a note of the stanzas to do with /home partition
and report, we can take it from there.
John



--
John Richard Smith
[EMAIL PROTECTED] 





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] bootloader reinstall prob.

2004-04-08 Thread John Richard Smith
martin brandt wrote:

After installing a windows boot, i then wanted to reinstall my linux 
bootloader, which i have had to do quite often with the regular reinstallations 
needed by windows ;) 
I loaded from my mdk 9.2 disc and executed the rescue command. This time 
however i got an error. I got:

Added linux *
Added linux-nonfb
Added windows
Added floppy
Added failsafe
Fatal:lseek /dev/hda3 : Invalid argument
Now im guessing there is something wrong with my hda3 partition :( what can i 
do?

Thanks

Well it looks to me as you've got an error in one of your lilo.conf stanzas somewhere to do with /dev/hda3 partition which you do not clarify as to it's nature.

Can you reproduce the lilo.conf here to look at ?
and what exactly is your /dev/hda3 partition ?
If you run the same procedure again to consul mode
and type something like,
cat /etc/lilo.conf 
it ought to display the file

then you can use the editor vi to correct it if necessary.



John



--
John Richard Smith
[EMAIL PROTECTED] 





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] bootloader reinstall prob.

2004-04-08 Thread Frank




Another way is to elect Expert when instalation reaches Summary and simply edit out that particular entry and worry about it later because you seem to have enough other options toproceed for now.

Enjoy

Frank
On Fri, 2004-04-09 at 00:24, John Richard Smith wrote:

martin brandt wrote:

After installing a windows boot, i then wanted to reinstall my linux 
bootloader, which i have had to do quite often with the regular reinstallations 
needed by windows ;) 
I loaded from my mdk 9.2 disc and executed the rescue command. This time 
however i got an error. I got:

Added linux *
Added linux-nonfb
Added windows
Added floppy
Added failsafe
Fatal:lseek /dev/hda3 : Invalid argument

Now im guessing there is something wrong with my hda3 partition :( what can i 
do?

Thanks

Well it looks to me as you've got an error in one of your lilo.conf stanzas somewhere to do with /dev/hda3 partition which you do not clarify as to it's nature.

Can you reproduce the lilo.conf here to look at ?
and what exactly is your /dev/hda3 partition ?

If you run the same procedure again to consul mode
and type something like,

cat /etc/lilo.conf 
it ought to display the file

then you can use the editor vi to correct it if necessary.



John