LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-23-2003, 08:43 AM   #76
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Re: Lilo


Quote:
Originally posted by rivang
I guess I was wrong about my LILO being fixed.

I boot my pc and it goes right into Windows ME without even showing a lilo screen. I can boot Slackware with a boot disk. I am not getting errors when I run lilo.

Ok here is my lilo.conf

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda2
#compact # faster, but won't work on all systems.
prompt
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# WinME bootable partition config begins
other = /dev/hda1
label = WindowsME
table = /dev/hda
# WinME bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Slackware8.1
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends


And FSTAB...

/dev/hda5 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda6 /tmp reiserfs defaults 1 2
/dev/hda7 /usr reiserfs defaults 1 2
/dev/hda8 /var reiserfs defaults 1 2
/dev/hda9 /home reiserfs defaults 1 2
/dev/hda1 /winme vfat defaults 1 0
/dev/hda10 /rigdata vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0

A question on the fstab... on /dev/hda10 /rigdata this is not giving me access to my fat32 data partition. When I do ls /rigdata it says it is empty and it should have my documents, program files etc... I wrote out lilo.conf and fstab to /rigdata/* resp. and they are the only items on that disk... yet when I boot back into WinME I see the stuff I am supposed to minus a lilo.conf and fstab in the root of d:\. WinME I see in Slackware. If I do ls /winme I see my WinMe partition and everything that is on it.
According to this line right here, you are placing this boot record at boot = /dev/hda2. That's OK, when you boot on /dev/hda2, you'll see the menu generated by LILO. But I assume that what you want to do is put LILO on the Master Boot Record (MBR), is that right? If so, change
boot=/dev/hda2 to
boot=/dev/hda and that ought to change the result.

Be sure to rerun LILO to get the change to take effect.
 
Old 01-23-2003, 08:51 AM   #77
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Thanks MasterC and Masinick...

I will try that when I get back to working on my slack box tonight...

Cool
 
Old 01-23-2003, 08:56 AM   #78
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Debian is challenging to install but not hard to use

Quote:
Originally posted by keating_5
Of the three you listed, I've only tried Gentoo. It's a good distro, but you need patience with it, and/or a fast computer. Portage [the package management system] is awesome. For example, you can install all of kde with a simple command "emerge kde." I'd still be using it, but I lost patience. I don't have a fast computer, and I definately didn't want to wait for the compilation.

As for Debian, my only experience with it comes from apt. I've been using apt on my SuSE box, and it's made me curious about Debian itself. Everyone claims Debian is really hard to use, I've decided to test that out for myself. I know that installing software will be almost as easier (no compilation) than Gentoo. Installing KDE would be (I'm guessing) "apt-get install kde" . Not too shabby.

I haven't tried Slack, but I'm sure I will at some point. I'd suggest you play around with the distros and see which one you like. They've all got strong points and weak points. But at least you'll stay away from RPM hell, since none of them use rpm.
A common misconception about Debian is that it is hard to use because so many people have trouble getting past the installer, at least in the base Debian version. The Debian project has another project underway to greatly simplify installation. But you can get around that problem by using an easy to install commercial version of Debian GNU/Linux software, such as Libranet, LindowsOS, or Xandros. Of these three, I personally like Libranet best, but each has their place. Libranet is a very complete system in itself, with a text and menu based installer, but it works beautifully. LindowsOS installs in less than ten minutes on most systems, but you end up having to download quite a bit of software to turn it into a really complete system, so you need a broadband link to use it effectively. Xandros is a really stable piece of software, and it makes a great starting point for people used to using Windows and those who are more interested in stability than in the lastest features.

Once installed, any of these distributions can get you to the same place because they are are backed by the Debian .deb packages and the packaging systems, apt-get, dselect, and the graphical synaptic updating application.

So my advice to anyone wanting to get into Debian software that's intimidated by the raw Debian installer is to try out one of these three distributions instead. For me, I like Libranet best of all.

Regarding Slackware, it is probably the most UNIX-like in character, packaging, and directory layout of any GNU/Linux distribution. Slackware uses pkgtool, an installation packaging tool very similar to Sun Solaris' packaging tool by the same name.

Slackware is best for those who will end up building their own software from compressed tar files, and that is precisely what Slackware packages are built from. Slackware is not always leading edge unless you download the CURRENT package at any given time, but Slackware is known for stability, just as Debian is.

I'd recommend either a Debian distribution or a Slackware distribution for anyone who wants to go beyond just creating a system with an automatic installer and a fancy GUI. If you really want to learn, both Debian and Slackware make great places to learn. Personally, I'd give Debian the nod and I'd give Libranet the nod as the best starting point.
 
Old 01-23-2003, 10:07 AM   #79
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
trying different versions of linux should also be seen as an exercise.
 
Old 01-23-2003, 10:44 AM   #80
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Smile I exercise that way!

Quote:
Originally posted by macewan
trying different versions of linux should also be seen as an exercise.
I don't walk or run enough, but I typically have eight Linux distributions on my system at any given time.
 
Old 01-23-2003, 10:52 AM   #81
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
ok, um, then you need therapy.

: )
 
Old 01-23-2003, 10:59 AM   #82
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Quote:
Originally posted by macewan
ok, um, then you need therapy.

: )
Definitely!
 
Old 01-23-2003, 03:41 PM   #83
kmistry
Member
 
Registered: Sep 2002
Distribution: Debian 3.0 (Sid)
Posts: 67

Rep: Reputation: 15
Quote:
Originally posted by rivang
Thanks MasterC and Masinick...

I will try that when I get back to working on my slack box tonight...

Cool
for your fstab problemo, id suggest instead of putting 'vfat' put in 'auto' it may be mounting an incorrect fs, you may know for sure its a fat32 but let fstab do the work for you.
 
Old 01-25-2003, 10:09 PM   #84
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Now something strange just happened... I booted into Slackware with the boot disk to make the change to lilo.config you suggested... only when I logged in as root I got errors

bash:id: id command can not be found
bash:fortune: fortune command can not be found

I tried to enter pico... can't be found. It is like I was logged in as root without any access to the config tools. I checked a couple folders like ls /usr and others and they were empty.

So I rebooted into WindowsME and my fat32 d:\ can't be found now. I then rebooted to the Slackware CD and ran cfdisk and I get fatal error partition 4 ends before sector 0.

Any ideas about what might have happened and how can I recover my d:\ drive?

Last edited by rivang; 01-25-2003 at 10:11 PM.
 
Old 01-25-2003, 11:27 PM   #85
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
I just solved the problem in my last post... used a tool called MBR Works to clear my partiion table except for hda1 then went back to cfdisk and recreated the rest of the partitions. After a reboot back into WinME... I had my d:\ back.

Cool
 
Old 02-01-2003, 09:38 AM   #86
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Well that solved that problem for a couple days... now it is corrupted again.

How can I prevent this?

It is not cool losing the partition table every couple days.

Oh I set this hard drive up from scratch... setup a 6GB partition with a Windows ME boot disk then installed WinME and associated software.

c:\ 6GB WinME

Then I loaded Slackware 8.1 and created the following partitions using cfdisk...

/root 5GB
swap 128MB
/tmp 1GB
/usr 4GB
/var 3GB
/home 10 GB
/mydata 50GB

I must be doing something wrong to keep losing the partition table.

Last edited by rivang; 02-01-2003 at 09:45 AM.
 
Old 02-03-2003, 12:32 PM   #87
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Rep: Reputation: 30
I don't know for sure if this is the problem with your partition table,

but, I have always read that reiserfs should have "0 0" at the end of the fstab line. If I understand it correctly, you don't want fsck to be messing with your reiserfs data...

just my $.02
 
Old 02-03-2003, 12:48 PM   #88
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
The last time this happened... I went into cfdisk and it complained about partition 4 being written out side of allocated space. I then went to fdisk and deleted partition 3 - 6... then I went back into cfdisk and recreated them the way they are supposed to be then reloaded fdisk and a did a write from fdisk. That appears to have fixed the problem. There hasn't been any other corrupt partitions since I wrote out the partition table with fdisk.

That info about 0 0 at the end of reiserfs parts in the fstab... do you have a link for where that would be.
 
Old 02-03-2003, 04:52 PM   #89
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Rep: Reputation: 30
Yeah,

I read it in the instructions for LFS: http://www.linuxfromscratch.org/view...r08/fstab.html

It doesn't say on that page why to put "0 0", but I do remember reading it. Just do a google search for "reiserfs fstab", I'll bet you can find it.

HTH
 
Old 02-11-2003, 09:22 PM   #90
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Well I haven't booted into Slackware on this pc since the last time I fixed the partition table... been working on my server.

Now tonight as soon as booted my computer no D:\ drive... partition table has corrupted again.

Any ideas why?
 
  


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
Recommend your favorite Debian packaged games! R00ts Debian 4 12-08-2004 10:28 AM
Debian, Slackware vs. Gentoo which would you suggest? shart121 Linux - Distributions 7 08-28-2004 09:58 AM
Can anyone recommend a nice cheap TV out card that works with Redhat 9? strago Linux - Hardware 1 09-07-2003 01:54 PM
LFS,Gentoo, Slackware, Debian: Whose cuisine reins supreme? orpheus Linux - Software 3 06-24-2003 03:44 PM
Which is best of Debian, Gentoo, Slackware? panzram Linux - Software 11 05-24-2003 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:23 PM.

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