LinuxQuestions.org
Review your favorite Linux distribution.
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 05-12-2004, 01:54 PM   #1
Theylan
LQ Newbie
 
Registered: Sep 2003
Location: Surrey, UK
Distribution: Slackware mostly, Gentoo is going on the games machine, Fedora on the TV websurfer
Posts: 17

Rep: Reputation: 0
boot from a floppy


OK, so there I was, thinking I was getting the hang of linux, and then Igo and do something monumentally stupid!

Well, I have installed slackware on an ancient laptop, and found gnome too slow, so I installed fvwm instead. then I altered my rc.4 file, putting fvwm at the top, and in a moment of brilliance editted out all the others, thinking that if it didn't load it would default to the command line, and I'b be able to edit it in vi again. THEN I decided to edit the inittab file to boot 4 instead of 3, again with the same logic. I rebooted, you can guess what happened! cannot find file- cannot load- yadayadayada and then it didn't give me the command line!

I tried to boot from a floppy, using bare.i and then mounting /dev/hda3 (on which root is) but of cource this used the inittab file and did the same as before. so what I'm asking is this - how can I boot just the command line and vi (or any other editor) off of a floppy, or get the comp to use a inittab file off of the boot floppy? I've looked around but every site I look at talks about booting off the HDD from the floppy (tried) or off the CD-rom (the laptop doesn't have one). HELP!!!!
 
Old 05-12-2004, 05:19 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 171Reputation: 171
You can try to pass 'init=/bin/bash' to the kernel in LILO/GRUB. If you use text mode lilo, it means to type 'linux init=/bin/bash' at LILO boot prompt.
 
  


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
Lost Linux boot and boot floppy doesn't work marquedios Linux - Newbie 9 05-22-2005 02:21 PM
Creating a Boot Floppy for Dual Boot Setup? jdanniel Linux - Newbie 8 08-07-2004 02:08 PM
Cannot Boot Linux - forgot to make boot floppy marsial Linux - Newbie 3 08-23-2003 12:39 PM
Floppy disk fail to boot when install suse 8 with boot from floppy ffang Linux - Newbie 0 08-18-2003 08:44 PM
Can boot from floppy, would like to boot from Hard Drive Mike32940 Linux - Newbie 5 02-08-2003 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 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