LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-28-2004, 02:04 PM   #16
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30

hrmmmm, if disk one is in the cd drive, then

Code:
mount -t iso9660 /dev/cdrom /mnt/cdrom
if there's no output, it worked

then pkgtool->other:

/mnt/cdrom/slackware/n

and install pine-4.58-i486-2.tgz

this is an email program that includes a very easy to use text editor.

after it installs, type:
Code:
pico /etc/lilo.conf
then you can manually edit lilo.conf with the proper settings, then:

/sbin/lilo

should install lilo with the proper settings.
 
Old 02-28-2004, 05:09 PM   #17
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
I did that pine-thing and it's already boot = /dev/hda in lilo.conf and not boot = /dev/hda1
However it also says root = /dev/hda1 but that's correct right?

And about 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.


the "read-only" line is already in lilo.
 
Old 02-28-2004, 05:20 PM   #18
Falco
LQ Newbie
 
Registered: Feb 2004
Distribution: slackware,mandrake,suse
Posts: 9

Rep: Reputation: 0
try to install lilo on a floppy to see if it works.
lilo -v -b /dev/fd0
 
Old 02-28-2004, 05:38 PM   #19
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Ignoring entry 'boot'
Warning: LBA32 adressing assumed
Reading boot sextor from /dev/fd0
Fatal: Filesystem would be destroyed by LILO boot sextor: /dev/fd0


I probably have to format the floppy right? How can I do that?

Last edited by NomDeGuerre; 02-28-2004 at 05:46 PM.
 
Old 02-28-2004, 06:06 PM   #20
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
Originally posted by NomDeGuerre
I did that pine-thing and it's already boot = /dev/hda in lilo.conf and not boot = /dev/hda1
However it also says root = /dev/hda1 but that's correct right?
Looks good so far

Quote:

And about 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.


the "read-only" line is already in lilo.
That's OK, you have yet to boot using lilo...

now you run lilo with no arguments

/sbin/lilo
 
Old 02-28-2004, 06:13 PM   #21
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
When I type /sbin/lilo I get:

Warning: '/proc/partitions' does not exist, disk scan bypassed
Fatal: open /boot/vmlinuz: No such file or directory
 
Old 02-28-2004, 06:31 PM   #22
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
image=/boot/vmlinuz #make sure there is really a `vmlinuz` in /boot - lilo will barf otherwise
Remember this?

Hang in there, you're almost home free.




Code:
ls -l /boot
if there is anything in /boot that starts with vmlinuz, probably vmlinuz-ide-2.4.22

Code:
ln -s /boot/vmlinuz-ide-2.4.22 /boot/vmlinuz
or if there's a bzImage

Code:
mv /boot/bzImage /boot/vmlinuz
If you don't see either one, then you still need to install a kernel from /mnt/cdrom/slackware/a

most likely the kernel-ide-2.4.22-i486-2.tgz package and the kernel-modules-2.4.22-i486-2.tgz

Use pkgtool. If you have rebooted you may need to remount the cdrom first.

Last edited by bnice; 02-28-2004 at 06:34 PM.
 
Old 02-28-2004, 06:55 PM   #23
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
There was nothing in /boot so I installed the kernel stuff.
Then I saw vmlinuz-ide-2.4.22 in there and tried ln -s /boot/vmlinuz-ide-2.4.22 /boot/vmlinuz but got the message:

ln: invalid option --e

The bzimage thing didn't work. There was no such directory.
 
Old 02-28-2004, 07:02 PM   #24
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
did you typo & hit the e? like `ln -se...`
 
Old 02-28-2004, 07:13 PM   #25
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Nope, I did put an extra space somewhere in there though.
I'm writing everything on pieces of paper 'cause I have to run up and down so I had trouble reading what I had written
Now I got this:

ln: '/boot/vmlinuz': File exists
 
Old 02-28-2004, 07:27 PM   #26
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
OK good

now run lilo again, no arguments.

it'll complain about /proc/partitions, but that's because you didn't boot properly. Ignore
If lilo doesn't complain about anything else, you should see something like:
Code:
frodo@bilbo:~/$ lilo
Added Slack *
Added Gentoo
Added Sandbox
Added XP
probably just one line though.

remove CD & type: reboot

you should boot with no problems, and not see the read-only message.
 
Old 02-28-2004, 07:28 PM   #27
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Typed /sbin/lilo and got:

Warning: '/proc/partitions' does not exist, disk scan bypassed
Added Slackware *

---edit---

Ah, posted this before I read your post. I'll give that a try now.
 
Old 02-28-2004, 07:45 PM   #28
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
When reeboting I get this message:


An error ocurred during root filesystem check
You will now be given a chance to log in to the
system in single-user mode to fix the problem

Once you exit the sungle-user shell, the system will reboot.

Type control-d to proceed with normal startup
(or give root password for system maintenance):


When I press CTRL + D it reboots and gets back to that message.
There was also something about what to do if I use ext2 but I use reiserfs so that shouldn't matter.
 
Old 02-28-2004, 07:53 PM   #29
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
give root password,
type:

fsck.reiserfs

if it suceeds, type Ctl+D to reboot
 
Old 02-28-2004, 08:02 PM   #30
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Didn't succeed. I only get to a new row and when I reboot the message still appears.
 
  


Reply



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

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

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