LinuxQuestions.org
Visit Jeremy's Blog.
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 07-18-2001, 10:33 AM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
Booting Root


OK, so say I have a Promise 66 controller, and I want to boot Linux off of it, instead of off the Primary IDE port. Now I know I would need to change the etc/fstab file to reflect the new root drive designation, but the last time Idid that I got it wrong, and I could not boot into Linux. So is I boot from a floppy how do I edit the etc/fstab file from a command prompt?
 
Old 07-18-2001, 10:42 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You can use the vi editor.

Code:
# vi /etc/fstab
That should open up the file and then press I for interactive mode to make changes... then you can esc to go back to command mode. Then do a shift ZZ to save and exit.
 
Old 07-18-2001, 12:47 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
I'm guessing that you want the drive bootable and lilo to write to the MBR on that drive, therefore it would be most convenient to have that drive as /dev/hda...

Will the drive(s) on the Promise controller be the only drive? Then you could just disable the on-board IDE controller in your BIOS.

If you will have other drives on your on-board controller, you could use the following to get the Drive on the Promise controller enumerted first. You will need kernel support for this: CONFIG_BLK_DEV_OFFBOARD=y

Then you can pass the "ide=reverse" option to the kernel when you boot (kernel > 2.4.x) or "pci=reverse" for 2.2.x kernels.

FOr example you have a boot labeled 'linux' in lilo.conf, so at the lilo boot prompt
Code:
boot: linux ide=reverse
This tells linux to enumerate the ide devices from last to first, so that the Promise controller will be IDE0/IDE1.
 
  


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
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
system hangs when booting in root paul62 Slackware 2 07-07-2005 09:10 PM
Loging as root and an error booting. Kensai Mandriva 8 02-22-2004 11:38 PM
When booting from a CD I can't boot from my root partition. sharpie Linux - Newbie 3 01-28-2004 05:20 PM
booting vnc as root magno Linux - General 1 10-17-2003 05:26 PM

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

All times are GMT -5. The time now is 11:21 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
Open Source Consulting | Domain Registration