LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-12-2004, 01:41 AM   #1
zatka
Member
 
Registered: Dec 2003
Distribution: Fedora 7
Posts: 75

Rep: Reputation: 15
linux boot problem


i am having windows xp prof and 2k server installed on an 80 gb hdd. 5 gb for 2k server and 10 gb for xp prof. i hav formatted these and all other hdd space with fat 32.

now i install rh9 with evrything option. i install the boot loader on the boot parttion n after the installation id finished tried to create a boot disk so that i can boot in linux thro floppy.

but the installation gives me error msg thatsays "the size of the kernel modules needed for ur machine make it impossible to create a boot disk that will fit on a floppy diskette"

then i made a boot disk from other PC which has rh9. but the boot disk gave me boot failde eror and that floppy on other pc is working fine.

my configuration is p4 2.4gigs, 80gb hdd, 512 mb ddr, intel 865gbf.
my partitions are
10gb xp prof fat32
5gb 2k server fat 32
10 gb rh9 ext3
20 gb empty fat 32
20 gb empty fat 32
12 gb empty fat 32

can u pls tell me a solution to this?
 
Old 08-12-2004, 02:03 AM   #2
hieudt
LQ Newbie
 
Registered: Aug 2004
Location: Hanoi - Vietnam
Distribution: Fedora Core 5
Posts: 24

Rep: Reputation: 15
I've never boot from floppy disk but I guess what it means is the driver modules for your hardware is too big (bigger than 1.4MB) therefore it can not be fitted in 1 floppy disk. The reason why the boot disk worked find in another computer and not your computer is because the hardware of 2 computer are different. All of this are just guess.

I wonder why do you need to boot from floppy when you have already installed the boot loader to your boot partition, why not make the boot partition active & boot directly from the boot partition??

Also it looks like you doesn't have a swap partition for rh9?? I would recommend 1 double the size of your RAM.

Last edited by hieudt; 08-12-2004 at 02:05 AM.
 
Old 08-12-2004, 03:50 AM   #3
cincindie
Member
 
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
The size of your kernel (it is a bzImage, I hope) is too big. The best thing to do would be to rebuild the kernel with as many modules as possible (modules are loaded only when needed). This will reduce the size of the kernel, at least enough to fit into a floppy. Alternatively, you can use your RH9 disk to boot.
 
Old 08-12-2004, 08:43 AM   #4
zatka
Member
 
Registered: Dec 2003
Distribution: Fedora 7
Posts: 75

Original Poster
Rep: Reputation: 15
hi hieudt,
i want to boot xp, 2k server n rh 9 on the same pc. if i'd hav loaded grub on mbr then it'd have wiped out my ntloader which is used by windows. thats why i have installed grub on boot partition n by booting in linux thro' floppy i wanted to create a linux kernel image n directed ntloader to boot thro that image.

for more info follow this link,

http://www.geocities.com/epark/linux...w2k-HOWTO.html

n i have created a swap partition. i dont think linux installation goes ahead without having a swap partition.

cincindie
how do u go into previously installed rh9 thro' rh9 disc?
n how do i compile kernel with reqd modules if i am not able to boot into it?
 
Old 08-12-2004, 10:12 AM   #5
cincindie
Member
 
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
zatka,

I'm sorry. I misunderstood. I was under the impression that you wanted to create a boot disk. In your case, that is not required. For the most part, you needn't compile the kernel either. All you need to do is copy your linux bootsector into Windows, and reference the file in the boot.ini file in Windows. In that case, the file that you create should not be more than 512 bytes in size. Also, you won't need a floppy to boot. The Windows bootloader should give you the option of booting into either XP, Win2k or Linux (as long as they are referenced properly in the boot.ini file).

Boot from the RH9 disk, choose rescue mode, mount your linux partition (under /mnt/sysimage, I think - it'll tell you the location). Then, do the dd command (in the link you provided): dd if=/dev/xxxx of=/mnt/sysimage/somename bs=512 count=1 (xxxx is the partition for your system). A file called somename (you can choose any name you wish) will be created that should be less than 512 bytes in size (will easily fit into a floppy). Copy the file to your C:\ drive in Windows. The rest of the steps are in the link you provided.

If this doesn't work, there are other options (more later - if you cannot get the above option to work): you can create a boot CD. Look at http://ldp.arnts.org/HOWTO/Diskless-...-HOWTO-5.html. Or, as I mentioned before, you can recompile the kernel with more modules (mount linux under /mnt/sysimage as before, compile the kernel, add to lilo or grub as before, also make boot disk with the new kernel).

Good luck!
 
Old 08-12-2004, 10:31 AM   #6
zatka
Member
 
Registered: Dec 2003
Distribution: Fedora 7
Posts: 75

Original Poster
Rep: Reputation: 15
thanks cincindie....:-)

i will surely try these steps n let u know.
 
Old 08-13-2004, 12:17 AM   #7
hieudt
LQ Newbie
 
Registered: Aug 2004
Location: Hanoi - Vietnam
Distribution: Fedora Core 5
Posts: 24

Rep: Reputation: 15
I have never dual-booted Linux & Windows before so I don't know that rh9 will delete ntloader of Windows. However, you could try reinstalling everything but install rh9 first and then windows, after that add an entry to load windows into your grub or lilo configuration file, it could help.
 
Old 08-13-2004, 04:59 AM   #8
cincindie
Member
 
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
The latter is possible (adding Windows to grub or lilo), but Windows has to be installed first.
 
Old 08-13-2004, 06:11 AM   #9
kevinwong
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
would you please explain dd command for me? i don't understand the opption
thx
 
Old 08-13-2004, 06:47 AM   #10
zatka
Member
 
Registered: Dec 2003
Distribution: Fedora 7
Posts: 75

Original Poster
Rep: Reputation: 15
Way 2 go Mr. Cincindie. u r my man at the hour.
thanks a zillion dude.........it worked n cheers for that.

kevingong:
dd if=/dev/hda5 of=/mnt/c/bootsect.lnx bs=512 count=1
now what this command will do is, it will copy the first 512 bytes of the boot partition (/dev/hda5) into a file named bootsect.lnx on folder named c which is mounted in /mnt.
i guess if stands for input file and of stands for output file.

u can always do 'man dd' for getting more help.
 
Old 08-13-2004, 06:56 AM   #11
kevinwong
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
would you please explain the dd command for me? i don't under the options
thx
 
Old 08-13-2004, 05:08 PM   #12
kevinwong
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
thx get it now
 
  


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
linux boot problem emrkar Linux - Newbie 3 02-25-2005 06:12 AM
Problem in Linux boot Diamantis Linux - Newbie 4 01-22-2005 02:52 PM
boot in linux problem pravinfarad Linux - Newbie 1 12-28-2004 04:40 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Linux Boot Problem kfrancisco Linux - General 9 02-13-2003 09:29 AM

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

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