LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-27-2004, 05:38 PM   #1
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Rep: Reputation: 15
What went wrong?


I've installed Slackware several times now and still can't make it work.
This time I made notes of all relevant (or so I hope) information regarding my installation.





hda1 -- -- Primary -- -- Linux reiserfs -- -- 7698.87 Mb
hda2 -- -- Primary -- -- Linux swap -- -- 649.80 Mb
hda3 -- -- Primary -- -- Linux reiserfs -- -- 98.71 Mb
hdb1 -- -- Primary -- -- Linus reiserfs -- -- 10262.06 Mb
hdd1 (boot) -- -- Primary -- W95 FAT32 (LBA) -- -- 41118.18 Mb

Full Install
Linux kernel: /cdrom/kernels/bare.i/bzImage
no modem
Hotplug: Yes

Lilo - Expert install
Standard Linux consol
Installed to MBR
LILO install location: /dev/hda
LILO timeout: none
Boot: /dev/hda1

/etc/lilo.conf:
image=/boot/vmlinuz
root=/dev/hda1
label: Slackware
read-only

USB connected mouse
GPM: Yes


hostname: darkstar
domain name: darkstar.example.net
STATIC IP
IP: 192.168.###.###
netmask: 255.255.255.0
Gateway: [empty]
name server: ###.###.###.###


Startup services:
rc.inetd (The BSD Inetd daemon)
rc.pcmcia (PCMCIA/Cardbus card services)
rc.sshd (The SSHD daemon)

Default window manager: xinitrc.kde (KDE: K Desktop Environment)





When I restart after installation I get this:

Verifying DMI Pool Data ........
Boot from ATAPI CD-DOM: Failure ...
Not found any [active partitions] in HDD
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER

When I put CD1 in nothing happens. When I put CD2 in I log in as root and
try startx, xfree86cfg, but nothing happens here either.

A question about name server too, when I look into my router status I see
Domain Name Server and some numbers. Those are the ones that should
be in name server in netconfig right?

I think I have (re)installed Slack about 10-15 times since the day before
yesterday and tried to make this work for hours... many hours.
Still no luck.

Last edited by NomDeGuerre; 02-27-2004 at 05:41 PM.
 
Old 02-27-2004, 05:52 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Check 'Boot sequence' in your BIOS (or any setting with the same meaning). Your machine tries to boot from the cdrom (it shouldn't after installation). Check if it also tries your hda.

Another thing you may do is to make one of the partitions on hda active (hda1 seems to be a good candidate). You can make a partition active by running fdisk (fdisk /dev/hda) and using 'a' option.

What else? You probably need to have a gateway. Your router's IP is probably the right to type as gateway.

Is your router also an DNS server?
 
Old 02-27-2004, 05:53 PM   #3
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
LILO install location: /dev/hda LILO timeout: none
Boot: /dev/hda1
this should look like:

boot=/dev/hda # NOT boot:/dev/hda1

This is mine. I happen to boot from /dev/hdb

# MBR to install LILO to:
boot = /dev/hdb
map = /boot/.map

Quote:
Those are the ones that should
be in name server in netconfig right?
nope, you should point it at your router & let it do all the work.
 
Old 02-27-2004, 05:58 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
<edit> too late</edit>

Last edited by Peacedog; 02-27-2004 at 05:59 PM.
 
Old 02-27-2004, 06:26 PM   #5
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Mara: I've tried with BIOS booting both CD-ROM and C.
I made hda1 active (through cfdisk).
Fixed the netconfig setting and I'll see if they work when and if I get Slack running
Don't know if my router (Netgear WGT624) is a DNS server.

bnice: How do I get into the LILO-setup again? I can't when I'm starting the computer with CD1. When I put CD2 in, log in as root and try lilo< I get /etc/lilo.conf: No such file or directory. When I try lilo.conf I get -bash: lilo.conf: command not found.
 
Old 02-27-2004, 06:36 PM   #6
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
at the cdrom boot: prompt type

linux mount root=/dev/hda1
 
Old 02-27-2004, 06:51 PM   #7
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Ok, so get to the cdrom boot and type in "linux mount root=/dev/hda1" and log in as root. When I type "lilo" I get:

Warning: '/proc/partitions' does not exist, disk scan bypassed
Fatal: creat /boot/map~: Read-only file system

No matter which of the two CD's I do this with.
 
Old 02-27-2004, 07:49 PM   #8
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Sorry, had to run across town for a minute...

try mounting rw:

Linux mount root=/dev/hda1 rw

after you get booted:

run /sbin/liloconfig

follow instructions in earlier post regarding boot=/dev/hda

you can (maybe) also directly edit /etc/lilo.conf, but liloconfig is probably your best bet.
 
Old 02-28-2004, 04:36 AM   #9
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
When I get to Boot: I write linux mount root=/dev/hda1 rw
Then I get this message:

***ERROR: Root partition has already been mounted read-write. Cannot check!
For the filesystem to work properly, your sustem must initially mount
the root partition as read only. Please modify your kernel with 'rdev' so that
it does this. If you're booting with LILO, add a line:
read-only
to the linux section in your /etc/lilo.conf and type 'lilo' to reinstall it.
If you boot from a bootdisk, or with Loadlin, you can add the 'ro' flag.

I started off with typing run /sbin/liloconfig which didn't work so I tried run /etc/lilo.conf and without "run" and tried replacing "run" with "edit". Still nothing.
rdev only gave me the text "/dev/hda1 /".
 
Old 02-28-2004, 12:01 PM   #10
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Code:
/sbin/liloconfig
I wanted you to use this because at this time, there's no easy-to-use editor on your system :-(

the errors are to be expected at this point, not to worry
 
Old 02-28-2004, 12:24 PM   #11
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
When I type /sbin/liloconfig nothing happens. I just get to the next row. No error message or nothing.
 
Old 02-28-2004, 01:01 PM   #12
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
OK, try:

/sbin/pkgtool

if it works, choose Setup, then choose liloconfig
 
Old 02-28-2004, 01:07 PM   #13
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
That works!
Now what do I choose? I'm guessing I'm supposed to choose "Other" to install from other directory. There I have to write something which is probably my CD. I don't know the adress for that though.
 
Old 02-28-2004, 01:35 PM   #14
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
if it works, choose Setup, then choose liloconfig
Setup will allow you to rerun some installation scripts, like liloconfig and netconfig

now it's time to rerun liloconfig, and using the examples above:

install lilo to MBR of first drive /dev/hda

Boot=/dev/hda

image=/boot/vmlinuz #make sure there is really a `vmlinuz` in /boot - lilo will barf otherwise
root=/dev/hda1
label: Slackware
read-only

if in doubt `man lilo.conf` will give explanations of all options and possibly sample code
 
Old 02-28-2004, 01:46 PM   #15
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Yea I did that already. But when I choose liloconfig with space so it gets checked and then and press enter I get back to the setup thing. Nothing really seems to happen so I choose

Other (Install packages from some other directory)

Then I get the text "Please enter the name of the directory that you wish to install packages from" and I dont know what I should type in there.
 
  


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
what' s wrong phoenix_fei Programming 4 01-18-2005 10:56 AM
my time is wrong and calender is also wrong Paxmaster Linux - General 6 12-16-2004 12:46 AM
What's wrong? whaase Linux - Software 7 10-20-2003 12:39 AM
What am I doing wrong? funkenbooty Linux - Newbie 14 07-26-2003 02:16 AM
What did I do wrong? yakko Linux - Newbie 7 05-02-2002 07:09 PM


All times are GMT -5. The time now is 07:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration