LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-21-2005, 10:04 PM   #16
MRDucks
Member
 
Registered: Aug 2005
Location: Tennessee
Distribution: Mandriva 2006,Gentoo,Linspire
Posts: 86

Original Poster
Rep: Reputation: 15

OK something strange has happened.I have switched first boot dev in the bios several times this weekend and it started whichever hd(os) I wanted.
My kids were using windows for a few hrs last night and then shut the box down.
When I got home from work today only windows would start.No matter which I chose as first boot dev.hd0 being linux and hd1 being win.
I can start,enter bios and select either but only win starts no matter what.I unplugged the win(slave)hd and linux is still here?Its as if win has altered my bios to only start hd1.Is this posible?

Thanks
 
Old 11-22-2005, 02:24 AM   #17
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
No, Zin cannot alter your BIOS (as far as I know no OS can)

I) DO you mean if you unplug Zin HD , then with ad-hoc bios setup linux starts?
(BTW Did you install lilo of grub)?

II) Try this in the BIOS (All HDs being plugged)
boot device 0) CD (or whatever but xp HD)
boot device 1) Linux HD
boot device 2) none
boot device other: none

You really need to get grub installed on the non XP HD
so you do not need to use the BIOS to choose which OS to boot)
 
Old 11-22-2005, 08:05 PM   #18
MRDucks
Member
 
Registered: Aug 2005
Location: Tennessee
Distribution: Mandriva 2006,Gentoo,Linspire
Posts: 86

Original Poster
Rep: Reputation: 15
1) When I unplug the xp hd(hd1) and set my bios to boot from hd0(linux) linux starts.
and when I choose in the bios to boot from floppy/cd/whatever other than hd0 and re-start it says no os found.Which I think is normal being that there is no floppy,cd,or other hd with an os on it when I try this.
I am pretty sure the default bootloader for mand 2005le is grub which I installed(mandriva) with just that hd plugged in.
If I had the other(xp) hd plugged in when installing linux would grub have found this and added this as a boot choice automatically?
I am confused tho,check out my term.responses.
[root@24-151-232-253 jeff]# which grub
/usr/sbin/grub
[root@24-151-232-253 jeff]# which lilo
/sbin/lilo
Looks to me like I have both?

2)With the xp hd plugged in,no matter what I choose as the first boot device hd0,hd1,floppy,cd,my butt, xp starts.
Thanks
 
Old 11-23-2005, 03:13 AM   #19
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Next time when you are in the Linux, list the content of the file

/boot/grub/menu.lst
/etc/lilo.conf

Grub and Lilo use these files to control the booting.

Also do a fdisk -l and show us your partition scheme of the hard disks.
 
Old 11-23-2005, 11:59 PM   #20
MRDucks
Member
 
Registered: Aug 2005
Location: Tennessee
Distribution: Mandriva 2006,Gentoo,Linspire
Posts: 86

Original Poster
Rep: Reputation: 15
I guess I screwed up.
I plugged the xp hd in and let the kids use it.xp froze.
I unplugged the xp hd and tried to start the linux hd and lilo pops up(never seen it before).I finally got
mand started and it was really screwed.No ethernet connection,and not many things worked.k3b did and I backed up what I needed and now have a fresh copy of 2006 installed and am going through the easy urpmi/update/install java thing. I also have enough spare parts(I think)to build my kids a box to run xp on and that will solve this problem .
Like I said earlier on:
Quote:
(I was afraid windows commercialized slime would ooze through the cable and spread its infectious $$grubbing onto my nice linux system)
Thanks for the help.If nothing else I learned some much needed terminal commands
 
Old 11-24-2005, 12:53 AM   #21
ipodlinux
Member
 
Registered: Nov 2005
Distribution: Mandriva, IpodLinux
Posts: 72

Rep: Reputation: 15
why dont you just take out the windows and teach your kids how to your mandriva(unless theyre very young)?

ooh..and when someone says enter this into BIOS, how do you get into BIOS exactly?...is that the thing where it says F12 - boot F2- ______ and then you click one..would that be BIOS?
 
Old 11-24-2005, 02:54 AM   #22
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Maybe your kids downloaded some M$-OS-loving nasties?
Or they managed to boot linux and break it precocious kids?

maybe What ipodlinux is saying: are you accessing the full bios with the del key?

Same advice, try mandriva with the kids, but you may need a dual boot
if they use a lot of games or educationware you already have or you may need wine
or crossover or transgaming stuff like cedega... Forcing mandy on them is not
a good idea. It is a catch22.
 
Old 11-24-2005, 10:41 AM   #23
MRDucks
Member
 
Registered: Aug 2005
Location: Tennessee
Distribution: Mandriva 2006,Gentoo,Linspire
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
Maybe your kids downloaded some M$-OS-loving nasties?
Or they managed to boot linux and break it precocious kids?
The only thing I could see in xp that they did was installed quicktime to view some kids game website.Which is funny because when mand.2005 was trying to boot it would get to starting cups,then when it started alsa it started stopping everything like it was shutting down.When it got back to stopping alsa it would hang.
I let it sit hung for 30 minutes or so while I was eating dinner,came back and linux was up but not much worked so I backed up what I could and installed 2006.

Yes while my box is starting I hit the del key to enter bios.Thats how my machine works.Some are different.I know hp pavilions use the f11 key to enter bios setup

Quote:
Same advice, try mandriva with the kids, but you may need a dual boot
if they use a lot of games or educationware you already have or you may need wine
or crossover or transgaming stuff like cedega
Actually the kids love mandy except when they try to view their(my)webpages.
after I install java jre to the mozilla dir.the pages I made with dreamweaver and swishmax(.swf files) are visible.Mostly animated text and some scrolling jpgs but the sound for the pages wont play.
I used my sitebuilder(homesteads sitebuilder plus)proggy to add the sound.Evidently homestead uses qt for the sound.Firefox says there is a missing plugin when viewing.(qt)which isnt available for linux.
I also need winblows to edit my website since I never bothered to learn html and I have a $500 macromedia studios proggy that only runs on win.So this is a catch 22 for me also.
 
Old 11-24-2005, 01:11 PM   #24
ipodlinux
Member
 
Registered: Nov 2005
Distribution: Mandriva, IpodLinux
Posts: 72

Rep: Reputation: 15
um Wine emulator.
 
Old 11-25-2005, 05:13 AM   #25
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Maybe, but it's probably a LOT easier for this person to just dual boot rather than go through the pain of figuring out how to get his application to run through Wine or a variation of it (otherwise a suggestion for an HTML editor would be more useful ).

Cool
 
Old 11-25-2005, 06:16 AM   #26
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I think the current problem is self inflicited as no useful information has been put forward for others to diagnose his problem.

I have 4 200Gb disks running 60+ systems in a box and every Linux can be made bootable by Grub or Lilo or Windows NTldr.

To boot a system you must know

(1) The kocation of its root partition
(2) Has its got a bootloader inside its root partition? If the answer is yes, as in the case of all DOS and Windows then you can "chainload" it (to boot indirectly).
(3) If the distro hasn't go its boot loader inside its root partition then you must know its kernel and initrd filenames so that you can boot it "directly" with Grub or Lilo.

I have never met a PC system that cannot be booted by a Grub floppy.

So no good guessing what's wrong or keeping playing around with the BIOS or cables, just leave the hardware side untouched and show people how the hard disks have been partitioned by listing the content of

fdisk -l

and show the Linux's

/boot/grub/menu.lst (for Linux using Grub)
or
/etc/lilo.conf (for Linux using Lilo)

As the above can show up the names of the kernels, initrd and the partition references.

The above information is accessible by booting up a Live CD and mount the distressed Linux partition.

Once installed there should not be a need to alter the booting disk order with the BIOS because Grub can do it with "hide", "unhide" and "map" commands. That is the way I run 3 Dos and 4 Windows in my box.
----------------------------------
If one wants to keep one hard disk (or system) inaccessible to children just use a floppy to dual boot and no floppy to single boot.

Last edited by saikee; 11-25-2005 at 06:20 AM.
 
Old 11-25-2005, 03:11 PM   #27
MRDucks
Member
 
Registered: Aug 2005
Location: Tennessee
Distribution: Mandriva 2006,Gentoo,Linspire
Posts: 86

Original Poster
Rep: Reputation: 15
For windows hd I tried [fdisk -l] and got a bad command response.And for mandriva 2006 I got:

[root@24-151-235-197 jeff]# /boot/grub/menu.lst
bash: /boot/grub/menu.lst: No such file or directory
[root@24-151-235-197 jeff]# /etc/lilo.conf
bash: /etc/lilo.conf: Permission denied

Where in windows do I type this command?I used the run(start/run)dialogue box.
I know this is not much useful information either but I'm trying.

I do know I installed the bootlaoder for mandriva 2006 in the mbr during installation if that helps any.
Thanks for the help.
 
Old 11-25-2005, 03:21 PM   #28
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Ahem. What we see here is a thread running wild.
The simple question turned complicated and this poor man doesn't know what your'e writing.
So, stop using proper terminology on "Linux - Newbie" forum.
For the thread: All you have to do is buy yourself a second cable, connect both disk and run Mandrake bootloader coinfig program. It'll see the XP for himself.

Peace
Binjajer
 
Old 11-25-2005, 04:05 PM   #29
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
you need to type
cat /boot/grub/menu.lst
and cut and paste the result

BTW I have lost count, but I am sure you have both HD connected

Once we know your menu.lst (or lilo conf) we can then advise how to get the dual boot going
 
Old 11-25-2005, 04:30 PM   #30
jadedbat
LQ Newbie
 
Registered: Nov 2005
Posts: 9

Rep: Reputation: 0
It's an L not a 1

This might help situation as mentioned, maybe its a spelling error.


In linux:
cat /boot/grub/menu.lst

The .lst is "LST" not "1st" just a shot in the dark.

Post it.
 
  


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
Lost Linux boot and boot floppy doesn't work marquedios Linux - Newbie 9 05-22-2005 03:21 PM
Creating a Boot Floppy for Dual Boot Setup? jdanniel Linux - Newbie 8 08-07-2004 03:08 PM
Cannot Boot Linux - forgot to make boot floppy marsial Linux - Newbie 3 08-23-2003 01:39 PM
Floppy disk fail to boot when install suse 8 with boot from floppy ffang Linux - Newbie 0 08-18-2003 09:44 PM
Can boot from floppy, would like to boot from Hard Drive Mike32940 Linux - Newbie 5 02-08-2003 12:43 PM


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