Solved

Can linux be booted from hard disk?

Posted on 1998-09-08
5
255 Views
Last Modified: 2010-04-20
i installed win95 on drive c and linux in drive d.
but i wanna boot my linux from drive d, not from the boot disk i made or the lilo disk, can i do that?

how can i dial my isp to get online in lunix?

Thanx alot.
0
Comment
Question by:ezlee
  • 2
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
jreese earned 100 total points
ID: 1637969
1. Under Linux, edit /etc/lilo.conf:

# LILO configuration file
boot = /dev/hda
delay = 300   # 30 second delay before default (first) OS boots

image = /vmlinuz-2.0.35
  root = /dev/hda2
  label = kernel2.0.35

other = /dev/hda1
  label = win95
  table = /dev/hda

2. Run /sbin/lilo. This will set you master boot record (MBR) so that you will recieve a LILO prompt at boot time: if you do nothing, after 30 seconds, kernel 2.0.35 will boot. If you want to boot win95, press and release the right SHIFT key, the hit the TAB key. A boot list will appear. Type in one of the entries (kernel2.0.35 or win95 in this example), then hit ENTER. That OS will then boot.

For connecting to the net with Linux, check the PPP-HOWTO, usually found in /usr/doc/faq/howto.

Jim

0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1637970
drive d is your second phisycal hard disk or is your second logical partition on the first disk?
0
 

Author Comment

by:ezlee
ID: 1637971
Thank you, jreese.

About ppp dialing, I can connected with my ISP with 'minicom', but I wanna use www browser under X-windows, so I need to know the way like using Trumpet Winsock in Windows System. Can you help me?  Thanks.

0
 

Author Comment

by:ezlee
ID: 1637972
Thank you, jreese.

About ppp dialing, I can connected with my ISP with 'minicom', but I wanna use www browser under X-windows, so I need to know the way like using Trumpet Winsock in Windows System. Can you help me?  Thanks.

0
 
LVL 1

Expert Comment

by:jreese
ID: 1637973
Use the pppd daemon and chat to set up a PPP session with your ISP. Here's an example:

Create a sh script in your bin directory (let's call it "go_ppp):
#!/bin/bash
/usr/sbin/pppd connect ~/bin/myppp /dev/cua1 115200 asyncmap 0 crtscts lock modem defaultroute

Then create the file "myppp" (which gets called by go_ppp):
#!/bin/bash
chat -t120 ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO DIAL TONE' '' ATDT8675309 CONNECT "" ogin:-BREAK-ogin: username
word: yourpassword

Edit according to your needs. Consult the man pages for pppd & chat, and look at the documentation under /usr/doc/faq/howto/PPP-HOWTO.gz

That should get you up and running; if not, let me know. You can get Netscape 4.5 from their home page.

Jim

0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
nagios monitor 3 54
How can you tell your public IP address without a browser? 9 61
Problem to App 4 79
Bash script - Exit out of choice loop 2 26
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question