LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-17-2003, 02:27 PM   #1
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Unhappy CDs not detected during install+other probs


Ok, here's the situation:
I just installed Mandrake 9.0 about 2 hours ago for the first time. Basic setup is win98/FAT32 partitions on primary harddrive (FAT32 partitioned as C:,E:, F: ), small secondary for Mdk (previously FAT2 D: ). A cd-rw and cdrom also installed.

This is using the 9.0 Power Pack edition, not downloaded cds.

Worked almost perfectly. Set the BIOS to boot from cdrom, stuck in cd 1, saved BIOS settings and rebooted. All went well, then custom selected the hard drive, formatted the secondary to ext3 and set up 3,4 and 13gig partitions for /, swap and /usr iirc.

Didn't manage to get even an option about bootloader. Lilo ended up being installed.

A few problems encountered about changing cd, I'd selected quite a few package sets to be installed. While the whole thing had been running fine off the cdrom, when I swapped the cd to the requested ones, it wouldn't continue and I ended up having to cancel some packages (unknown which)
I think I also tried putting the cd in the cd-rw, didnt even read it.
Remember that the cds aren't burned from downloaded images, they're direct from MandrakeSoft!

A side problem now seems to be that Windows has a different letter assigned to the old F: partition, where most things were installed, because the D: was the second harddrive and now isnt detected as it's ext3. Letter Assigner should fix this

My main problems/questions now are:
How to find which packages didnt install and why?
How vital are chargen and chargen-udp, as I think I accidentally stopped them (while not as root! EDIT: Duh, I remember you sign in as root when loading the MCP )?

Also important:
How to make Lilo auto-pick windows from the list it gives?... EDIT: Or require a password before allowing other options (sisters...)?

How to make a backup boot disk for linux and windows just incase?
Which services do I really need running?

That may seem a lot I know, but I'm sure there's someone out there who has the perfect solution to each problem, so fire away.

Last edited by Proud; 01-19-2003 at 03:55 PM.
 
Old 01-17-2003, 04:58 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Quote:
How to find which packages didnt install and why?
In my Mandrake (old version) there's /root/auto_inst.cfg.pl. Among other things, there's a list of packages (not sure installed or choosen to install). Compare it with the result of 'rpm -qa'. The differences mean not installed packages. Try to install them manually and you should get the error message. I don't know another method.
Quote:
How vital are chargen and chargen-udp
You don't need them.
Quote:
How to make Lilo auto-pick windows from the list it gives?... EDIT: Or require a password before allowing other options (sisters...)?
Open /etc/lilo.conf, find line 'default=linux', change it do 'default=windows' (or another label you have for your Windows option.
Login+password should be requested when Linux boots (runlevels 3 or 5), so there shouldn't be a problem with unauthorized access (you should know how to boot without a password, because it's possible).
Quote:
How to make a backup boot disk for linux and windows just incase?
'mkbootdisk' read its manpage (man mkbootdisk)
Quote:
Which services do I really need running?
Not really many: network, xfs, syslogd, crond. I can't think about more. But post your list of running services before turining them off (I may have forgotten something imporant).
 
Old 01-17-2003, 06:02 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Thumbs up Thanks for your help

Ok, I'll find the differences. Is there some nice little command to list the ones which aren't in both lists, as there could be quite a few? (Time to read up on Bash ?)

Sorry about the messy edit. I would like Lilo to auto load windows after about 5 seconds, or if a key is pressed, stop the timer (as it does now) and then have to enter a password to access the other OS options. Is this possible?
I have heard of single mode allowing you to not need/even change the root password, but my sisters have no chance of learning that.

I'll read what it said about those services again, iirc they were used with another service running.

What's the command to list the lot, and save to a file to post later?

Last edited by Proud; 01-17-2003 at 06:04 PM.
 
Old 01-18-2003, 03:44 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Quote:
Ok, I'll find the differences. Is there some nice little command to list the ones which aren't in both lists, as there could be quite a few?
The lists have different formats, unfortunatelly...
Quote:
I would like Lilo to auto load windows after about 5 seconds, or if a key is pressed, stop the timer (as it does now) and then have to enter a password to access the other OS options. Is this possible?
LILO doesn't have such option, as fas as I know. You need another program (don't know any).
Quote:
What's the command to list the lot, and save to a file to post later?
All the scripts running the services at boot are in /etc/rc.d/rc5.d (if you're booting to graphical mode). So 'cd /etc/rd.d/cd5.d; ls -l >/somewhere/resultfile' will do. You can also list all the processes: 'ps aux >/somewhere/resultfile2'.
 
Old 01-19-2003, 04:21 PM   #5
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Wink Well it was fun while it lasted..:

Guess what, I hadnt got round to making the boot disks before... I slipped and fecked Lilo's windows entry.
For 8 hours (on and off) I tried poking it about to restore the windows option (all others were working fine)
Eventually I resorted to using a win95 startupdisk to fdisk /mbr, then made a win98 start disk once that booted.
How do I get back to Linux and restore Lilo? I think I made a linux boot disk before I fdisked

I no longer need to worry about sisters, they've been educated that any other option will not work for them (no accounts for them yet ), but they are to properly shutdown if they load Mandrake.

My other main problems are getting internet access, and checking 'installed' packages are actually installed!

When attempting to use the MCC internet connection wizard, I have to select which com port my modem is on, from 8 iirc, or /dev/modem/. Windows says it's on com3, but neither that or /dev/modem work
I have a bad feeling it's because I have a Conexant HCF V90 56K Data Fax RTAD PCI Modem, but the drivers for it are listed in the manual as being on the commercial software cds.
I cant find them, and also when I selected other packages to be installed, they all seem to be already (I did select a lot at install)! However I am unable to start things like GKrellM, some potentially helpful apps I came across like gpart or wvdial.

Hopefully I can try this linux boot disk and return to Mandrake asap.
 
Old 01-19-2003, 04:57 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Oh and I did copy auto_inst.cfg.pl, xinstall.log and xstage1.log to my windows hard drive. Btw it automatically mounted them with no fuss.
 
Old 01-20-2003, 04:17 AM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Question

Anyone got any better ideas than just trying to boot off the linux floppy and hope to restore Lilo? Or even an explaination of how exactly this will go?
I'm at school now, but I might have copied a disfunctional version of lilo.conf to my windows drive too.
 
Old 01-20-2003, 12:59 PM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Come on guys, no one got any warnings about trying the linux boot disk? Might I end up having to use the linux/win98 boot disks to boot each OS?

Turns out I didnt copy that lilo.conf, but it's rather useless anyway as it's wrong.
 
Old 01-20-2003, 05:40 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Ok the Linux boot disk didn't work, but the 1st install cd did, and I managed to get to the rescue mode, and re-installed Lilo.
This made Mandrake work again, but not windows. I have the freshly generated lilo.conf in windows now.
So yes, as Mdk currently doesnt have net access, I've had to resort to using the win98 startup disk to fdisk /mbr again!
While I can boot into either OS via seperate disks, I'd much rather have it working as it was before that fateful slip in the Boot Config screen.
What exactly could I have messed up if win98 can work on it's own bootloader, and Lilo can load Mdk? And how do I fix it
 
Old 01-20-2003, 05:51 PM   #10
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
post your lilo.conf, and also your partitioning scheme...ie:
hda1 10GB windows xp
hda2 25 MB /boot
hda3 10GB /

etc....
 
Old 01-20-2003, 05:57 PM   #11
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
IIRC:
hda1 3Gig Windows98 FAT32 C:\
hda2 3Gig FAT32 E:\
hda3 31Gig FAT32 F:\
hdb1 3Gig / Ext3
hdb2 4Gig swap Ext3
hdb3 13Gig /home Ext3

Note windows doesn't have a D:\, thanks to that Letter Assigner, to keep my programs working, because win98 cant see the Ext3 drive.
Code:
boot=/dev/hda
map=/boot/map
vga=normal
default=windows
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
	label=Mdklinux
	root=/dev/hdb1
	initrd=/boot/initrd.img
	append="quiet devfs=mount hdc=ide-scsi"
	vga=788
	read-only
image=/boot/vmlinuz
	label=linux-nonfb
	root=/dev/hdb1
	initrd=/boot/initrd.img
	append="devfs=mount hdc=ide-scsi"
	read-only
image=/boot/vmlinuz
	label=failsafe
	root=/dev/hdb1
	initrd=/boot/initrd.img
	append="failsafe devfs=nomount hdc=ide-scsi"
	read-only
other=/dev/hda1
	label=windows
	table=/dev/hda
	map-drive=0x80
	   to=0x81
	map-drive=0x81
	   to=0x80
other=/dev/fd0
	label=floppy
	unsafe

Last edited by Proud; 01-20-2003 at 05:58 PM.
 
Old 01-20-2003, 06:14 PM   #12
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Ok, so what happens when you boot up? What happens when you choose windows to boot? You need to be specific and post any errors and stuff like that...

On another note, why do you have 4 GB of swap? That is totally rediculous. You only need at MOST 2x your RAM...
 
Old 01-20-2003, 06:20 PM   #13
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
I wasnt sure so I gave it plenty at the install
I have 256 DDR RAM

When I pick windows it goes back to the white on black screen and says:
Loading windows
blinking cursor

Then does nothing.

I tried root=/dev/hda and hdb I think, just got Lilo spewing out alternating characters (seen posts about it) I basically poked it a lot with no success.
Also Grub has the same results, probably because it gets a conversion of the lilo.conf as its settings.

Last edited by Proud; 01-20-2003 at 06:22 PM.
 
Old 01-20-2003, 06:35 PM   #14
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Well first off, you only need at most 512MB of swap. So, when you did the fdisk mbr thing windows booted ok? You should perhaps consider reinstalling linux, as it would most likely fix both problems...

Your lilo.conf is pointing to the right place for windows, so it is beyond my expertise as to why it will not work. You can wait and see if someone else can help, but I would reinstall and get your install done right..with only 512MB of swap...

sorry I can't help more.
 
Old 01-20-2003, 06:40 PM   #15
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Ok, so just stick in the Mandrake boot disk and not pick the F1 menu, but the normal install/update one?
Ok, only 512meg

Yeah windows is fine using it's bootloader.

I think lilo.conf didn't have
Code:
	map-drive=0x80
	   to=0x81
	map-drive=0x81
	   to=0x80
at one point, and also there were similar lines before the image= section.
 
  


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
SATA Not detected at install cootetom Debian 7 02-16-2005 10:06 AM
install probs Citystar Linux - Newbie 2 09-18-2004 11:15 PM
after install probs mrobins3 Mandriva 1 02-24-2004 06:21 AM
Install Probs timcrafton Linux - Software 1 01-14-2004 08:56 PM
ps2 mouse not detected on install or post install with mandrake 8.2 linux_learner Linux - Hardware 1 09-12-2002 09:31 AM


All times are GMT -5. The time now is 12:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration