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 05-19-2004, 11:42 AM   #16
aklapom
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0

I have windows xp on a laptop and wanted to install linux for dual boot so I down loaded Mandrake 9.2 and used it to partition my hard drive for the setup. It walked you through it step by step. It was really pretty easy. I'm more of an average windows user and linux newbie. I just made sure I read what it was doing and mandrake did most everything for me.
 
Old 05-19-2004, 12:54 PM   #17
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
I am little puzzled. If Windows is on hdo, how come rootnoverify must be changed to hd1?

I haven't tried yet since I am away from my machine. Will post result tonight after trying.

Thanks for your continued support.
 
Old 05-19-2004, 03:48 PM   #18
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
OK. My bios does not give me the option to choose which hard drive to use. It just says floppy, cdrom, IDE, SCSI etc.

So I am now not sure what to do. I have not yet done the steps given by demonbane. Should I do the grub stuff mentioned and then run ms-sys or do I just run ms-sys w.o the grub root and setup commands?

Right now I do not see a grub.conf file, will that be created by setup or ms-sys?

Last edited by btexpress; 05-19-2004 at 03:51 PM.
 
Old 05-19-2004, 04:53 PM   #19
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you can't specify which drive to boot from in bios then don't worry about my previous post, it won't work.
There's another bootloader on the floppy called "Smart Boot Manager", you might want to try that.
Either way you'll need to install grub into (hd1,0) which is your /boot partition
Code:
grub> root (hd1,0)
grub> setup (hd1,0)
there should be a grub directory in your /boot otherwise it won't work, if there isnt copy the one on the floppy disk. You need to write your own grub.conf, take a look at the previous examples if you're not sure how to.

backup your current MBR
Code:
dd if=/dev/hda of=mbr.bin bs=512 count=1
make sure you copy mbr.bin onto a floppy disk.

Install smart boot manager:
Code:
sbminst-static -t us -d /dev/hda
Then reboot, you should see a list of bootable partitions in it, try and see if it's able to load your Windows partition your Linux /boot.
 
Old 05-20-2004, 02:56 PM   #20
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
I got sbm to give me a menu. I can choose previous MBR to get to Windows but not the hard drive 1 option.

Linux gives Error loading OS - might be a virus reboot with floppy and update. Update is taking forever, now a1 around 13 hour mark. I though it might be due to some heavy activity on the upgrade servers.

Should I wait or cancel and try something else?

I feel that I am almost there and hence not ready to give up yet.
 
Old 05-21-2004, 01:55 AM   #21
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
Either Windows is jeolous or Tux does not like me. I have tried and tried and tried and .... I give up. It burns me to do so but I have not more energy nor will. It has taken too much of my time and it is not fun anymore.

The good news, I am still around to use Linux. I will just have to leave with floppy boot until I convince my one rib to buy a separate machine for Linux and Apache for a personal site.

Thanks for all who have tried to help.
 
Old 05-21-2004, 02:03 AM   #22
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Rep: Reputation: 30
well if you want a site I ran apache/mysql/php in windows along with the OS for quite awhile with no problems truth be told. I'm using slackware as my primary OS now but if that's all you are wanting to do you can do it in windows. Linux won't be fun unless you like learning how to fix things. And sometimes that will mean doing it on your own. Really, the same has been true with windows for me as well but to a lesser extent I suppose.
 
Old 05-21-2004, 02:05 AM   #23
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you ever change your mind and want to challenge it again, create a small FAT partition on hda and use it as your /boot, that should solve your problem.

Last edited by Demonbane; 05-21-2004 at 02:09 AM.
 
Old 05-21-2004, 03:27 AM   #24
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
Using NTLDR to boot linux

By far the eaisiest way to boot linux with winxp is to use the winxp boot loader.
Just install grub to your linux partition, and then boot linux using the boot cd or floppy, then type:
Code:
dd if=/dev/{your-linux-partition} of=linux.bin bs=512 count=1
replacing {your-linux-partition} with hd??.
Then move the linux.bin file to your windows partition somehow (floppy disk?), and put it in C:\linux.bin or something.

Then go Start --> Run & type `notepad c:\boot.ini`
and add the line:
C:\linux.bin="Linux"

And voila! Windows becomes linux-friendly. This seems to me the best way to dual boot with xp, without messing with the NT Boot Loader on the MBR. Of course if you have a windows version <= ME, then just go about your business as usual.
 
Old 05-21-2004, 03:48 AM   #25
maqish
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands, Lelystad
Distribution: Slackware 9.1
Posts: 29

Rep: Reputation: 15
I've read the thread, and wondered what went wrong with lilo at a certain moment. I know when installing slackware the auto-install of lilo on the mbr goes wrong (for me most of the time) but when i manually edit the file and then run lilo it does work. I use XP and slack 9.1 where the windowsXP drive is NTFS and to be honoust, i never had any problems..

Maqish
 
Old 05-21-2004, 05:23 AM   #26
jag
Member
 
Registered: Jun 2001
Location: Philippines
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
you have to setup lilo properly. auto install of lilo sometimes doesn't work. try using custom configuration of lilo.
 
Old 05-21-2004, 07:21 AM   #27
maqish
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands, Lelystad
Distribution: Slackware 9.1
Posts: 29

Rep: Reputation: 15
Quote:
Originally posted by jag
you have to setup lilo properly. auto install of lilo sometimes doesn't work. try using custom configuration of lilo.
custom indeed works, knew that, i wonder if the starter of this thread also tried that..

Maqish
 
Old 05-21-2004, 01:12 PM   #28
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
I have tried countless things and nothing seemed to work. I decided not to waste any more time and floppy boot Linux.

Thanks for your inputs.
 
Old 05-21-2004, 01:17 PM   #29
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
I tried what aesahaettr suggested with the following results

With GRUB

1. dd if=/dev/hdd ... I get The menu and selecting Linux gives a blank screen with Grub and system freezes
2. dd if=/boot/grub/stage1 ... same thing.

With Lilo

dd if=/dev/hdd ... L with blank screen.

I have also tried to change the boot order in the bios to start with my two ide drives then floppy.

No can do.
 
Old 05-21-2004, 03:48 PM   #30
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
In that case, I'd say your system really has some issuse with the linux boot loaders.
just out of curiosity, when it brings up the lilo screen, does it just say 'Li' with no 'Lo'?
If so, then check that the line "lba32" is in /etc/lilo.conf up the top somewhere, and re-run /sbin/lilo
Otherwise give up, use a floppy, or use nero to turn the bootable floppy into a bootable cd... that might be more convienient.
 
  


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
Distro Suggestion AlphaAddict Linux - Distributions 7 10-11-2005 06:02 PM
looking for distro suggestion wijnands Linux - Distributions 2 07-14-2005 04:59 PM
Suggestion for a distro campusloop Linux - Software 4 05-17-2004 08:49 AM
what is a good typing program suggestion? Moses420ca Linux - Software 3 11-04-2003 08:10 AM
suggestion for a good text-only email client philfighter Linux - Networking 5 07-23-2001 10:27 PM


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