Solved

Can linux be booted from hard disk?

Posted on 1998-09-08
5
254 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now