LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-29-2003, 03:40 PM   #16
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,288

Rep: Reputation: 65

you can mount the ext3 as ext2 i think
mount -t ext2 /dev/hda2 /mnt
then i prefer
chroot /mnt lilo
but dave is probably thinking of some things i'm not
 
Old 03-29-2003, 03:53 PM   #17
Applejuice
LQ Newbie
 
Registered: Jan 2003
Location: Norway
Posts: 29

Original Poster
Rep: Reputation: 15
so what do you say daVE?
 
Old 03-29-2003, 03:53 PM   #18
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yes that should work

tomsrtbt is a boot floppy that contains a linux system. It is mainly used for repairing systems, it is recommended that you have a root/boot disk around for things like this

I would agree though that there must be a way to do it with the mandrake cd, I have not used mandrake rescue. RedHat mounts the system in /mnt/sysimage

this would mean you can run chroot /mnt/sysimage and you would be on the system where you could run lilo to fix it

mount
will tell you where /dev/hda2 is mounted
 
Old 03-29-2003, 04:20 PM   #19
Applejuice
LQ Newbie
 
Registered: Jan 2003
Location: Norway
Posts: 29

Original Poster
Rep: Reputation: 15
okey that did not work. forget that. i will try to reinstall linux, but then i need you guys to help me with the keyboard during new instalation. New problem. When i try to re-install bootloader from rescue it installs it, but my keyboard dont work when linux asks for my confirmation to install boot loader. All i need to do is press enter but my keyboard dont work. And this is after kernel has startet. Is there any command i can use to make my keyboard work? now i use : "boot : noauto rescue (enter)" Is there any thing else i might add?
 
Old 03-29-2003, 04:24 PM   #20
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I would not do that

this is very simple
 
Old 03-29-2003, 04:44 PM   #21
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,288

Rep: Reputation: 65
there's just something about lilo and newbies.
they get freaked out and mad really fast and give up.
to us, its like hooking up cables between 2 vcr's and
a tv, and they get frustrated cause they can't get the
cables in the right order, and take the vcr's back to
the store.
we ought to make a rescue floppy that does nothing
but mount the filesystem and reinstall their lilo, and
put a link to it on this site, since this comes up so
often.
 
Old 03-29-2003, 05:10 PM   #22
Applejuice
LQ Newbie
 
Registered: Jan 2003
Location: Norway
Posts: 29

Original Poster
Rep: Reputation: 15
oki, im happy to inform that i am now in linux and writing to you guys from here. . .tada. . thanks for all help. By the way. can you name me any editors in console? how do i edit the bootline with noapm?? Kenneth
 
Old 03-29-2003, 05:42 PM   #23
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
at the boot promt you need to enter the name of the label you want to boot

it may be "linux" or "RedHat Linux"

something like that, whatever it shows in the list.

so it will be

"RedHat Linux noapm"

editors are vi, pico, nano


 
Old 03-29-2003, 05:44 PM   #24
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Note that spaces are not a good idea in the label, but redhat does it anyway, so surround it by quotes if it has spaces in it, or just ignore errors
 
Old 03-30-2003, 05:18 AM   #25
Applejuice
LQ Newbie
 
Registered: Jan 2003
Location: Norway
Posts: 29

Original Poster
Rep: Reputation: 15
But can't i write it permanently in some sort of boot file?? So i don't have to write "linux noamp" everytime i boot??
 
Old 03-30-2003, 05:20 AM   #26
Applejuice
LQ Newbie
 
Registered: Jan 2003
Location: Norway
Posts: 29

Original Poster
Rep: Reputation: 15
lilo.conf maybe?? But where does lilo.conf lie?? in what folder?
 
Old 03-30-2003, 03:22 PM   #27
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
My lilo.conf is in /etc - no subdir; just /etc/lilo.conf. And I get a screen where there's a default OS or I can arrow up or down. No typing, as such, at all. Then there's a text message below with a prompt where I can type in the label if I want.

Quote:
Originally posted by whansard
there's just something about lilo and newbies.
they get freaked out and mad really fast and give up.
*g* I musta got lucky, because LILO's been pretty good to me. I do notice a lot of people have problems with it and get freaked out by it, though.
 
Old 03-30-2003, 06:18 PM   #28
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,288

Rep: Reputation: 65
noapm would go in the append line,
just like hdc=ide-scsi like
apend="hdc=ide-scsi mem=nopentium noapm"

assuming thats how to phrase the noapm line.

when i first started using linux, 10 years ago, on
a 16mhz 386sx with 2 megs of ram, whenever
i would mess anything up, i would just reinstall
everything too. I didn't get where i could do anything
with linux until about when slackware 96 came out.
back before then, you had to write your own
XF86Config with vi. I remember walking around
to different people asking if anyone knew how
to mount a floppy in linux. that was in '94.
man is this offtopic.
 
Old 03-30-2003, 06:23 PM   #29
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Guys, couldn't you just have said boot off the Mdk9.1 disk, Enter rescue mode, then Restore Lilo/bootloader option? I know I did with Mdk9.0 vs win98
 
Old 03-30-2003, 06:44 PM   #30
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,288

Rep: Reputation: 65
Too bad you as a mandrake user didn't post earlier.
You would have saved applejuice some stress.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:21 PM.

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