LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 09-27-2004, 08:29 PM   #1
kmlinux12
Member
 
Registered: Sep 2003
Posts: 40

Rep: Reputation: 15
Size of Linux Boot Partition


I am trying to setup xp and RHEL on the same box.

I have only only 1 NTFS partition used by xp currently and want to setup another VFAT partition for copying the linux boot sector there and then onto c:\boot.ini in xp and then use the xp boot.ini on a regular basis as my booting option source.

I want to keep the size of the shareable VFAT partition to a bare minimum only to copy the boot sector from linux to it and then onto C drive for xp.

What is the size of the linux boot sector so I can keep the vfat partition to something close to it?

Also, if as another option I install GRUB on the MBR during linux install and thus use GRUB as my booting preference, then if something happens later to my linux or xp OS do I get stuck can cannot reformat my drive if I want to and start all over again since the MBR is already written to by GRUB or can I reformat and start all over.

If I can then in that case I would prefer to install GRUB on MBR and boot from there rather than from xp.

I've heard about getting stuck with MBR issues and am wondering that if I write to MBR once I am stuck incase something happens to any of the OS and cannot even reformat and start over.

What is this issue with getting stuck with MBR anyway?

Thanks
 
Old 09-27-2004, 09:14 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,059

Rep: Reputation: 759Reputation: 759Reputation: 759Reputation: 759Reputation: 759Reputation: 759Reputation: 759
Most of the time rewriting the bootloader to the MBR is a not a problem. Reinstalling XP will overwrite the MBR but it is easy to fix.

The boot sector is 512 bytes but you do not need to create a FAT32 partition for XP to boot linux. See the following link:
http://www.tprthai.net/bootmgr.htm
 
Old 09-27-2004, 09:15 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,331

Rep: Reputation: 141Reputation: 141
10MB should be more than enough for a /boot for linux but I don't know about installing it on a FAT32 partition. It should work I suppose.

The problems your thinking about with grub shouldn't be any problem at all. You can always reformat your drive since the mbr is not part of any partition; it's the first sector on the hard drive and won't be touched by a reformat. If you have to reinstall windows, it will overwrite grub with the windows boot loader and you won't be able to boot linux but most linux distros have a rescue mode from the install cds that will put grub back on the mbr. Likewise, if you want to ditch linux later, you can overwrite grub with the windows boot loader by going into rescue mode with the winxp install cd and doing "fixmbr". There are many posts here on how to do each of these repairs.
 
Old 09-29-2004, 10:23 PM   #4
kmlinux12
Member
 
Registered: Sep 2003
Posts: 40

Original Poster
Rep: Reputation: 15
michaelk,

Thats for the very informative url on doing this. However my big problem is that my pc does not have a floppy disk. how can I copy the linux boot sector on a writable cd instead of a floppy diskette?
 
Old 10-04-2004, 11:50 AM   #5
gaud
LQ Newbie
 
Registered: Oct 2004
Location: Montreal
Distribution: all of them.
Posts: 2

Rep: Reputation: 0
check this out

http://www.tldp.org/HOWTO/Bootdisk-HOWTO/cd-roms.html

you might also try with Xcdroast
 
Old 10-05-2004, 10:11 PM   #6
kmlinux12
Member
 
Registered: Sep 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks for the document and url.

My big problem again is that when I am in the middle of installing RHEL with my CD in the CD drive how can I create a boot disk since I do not have a floppy drive? If there was a way to copy the boot disk onto a CD i.e. take out the linux installation CD when prompted and put in the blank writeable CD then I can accomplish this but not otherwise as far as I can think.

I only have one CDRW drive and no floppy drive or external floppy source.

Now since I cannot create a bootable floppy I canot boot from it and then create a boot image which I can then copy onto windows.

While I am in the installation process can I use an external floppy drive(I can get it temporarily) or a zip drive if it will be detected during the installation process and then create a boot disk first and then copy the boot partition to this disk.

Thanks
 
Old 10-06-2004, 08:26 PM   #7
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
kmlinux12, you can use your installation cd whether it is xp or linux as your boot disk. You do not have to make a boot floppy.
 
Old 10-06-2004, 09:36 PM   #8
kmlinux12
Member
 
Registered: Sep 2003
Posts: 40

Original Poster
Rep: Reputation: 15
ok so I can boot from the installation cd after installing linux. what is the command I should execute to boot from the installation cd? generally the installation cd when put in will start the installation process again and i want to boot from it not use it for reinstalling the os which will have been done already.

Secondly during the installation process i select 'install boot loader record on' FIRST SECTOR ON BOOT PARTITION' and do not create a boot disk.

when i reboot after the installation is complete(from installation cd) i want to copy the boot loader record from FIRST SECTOR ON BOOT PARTITION to my windows boot.ini so that i can boot from windows going forward. Now since I do not have a floppy drive can I copy the the boot sector to a blank writeable cd and if so how?

thanks
 
Old 10-06-2004, 10:49 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,059

Rep: Reputation: 759Reputation: 759Reputation: 759Reputation: 759Reputation: 759Reputation: 759Reputation: 759
Checkout the following link. You can use the 1st install CD and boot up rescue mode. At the first prompt type in linux rescue and press the enter key. Having a FAT32 partition would be handy at this point so that window will have access to the file or you can burn the file to a CD.

http://www.geocities.com/epark/linux...w2k-HOWTO.html
 
Old 03-22-2010, 03:12 PM   #10
kutlu
LQ Newbie
 
Registered: Dec 2007
Posts: 27

Rep: Reputation: 15
keep boot partition large.

it gets problematic in time. I suggest at least 100MB.

30 MB was not enough for me nowadays.

Last edited by kutlu; 03-22-2010 at 05:36 PM.
 
Old 03-22-2010, 03:50 PM   #11
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,125

Rep: Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119
Quote:
Originally Posted by kutlu View Post
right now, I'm trying to install new kernel using apt upgrade, and 30MB is not enough for me.

it gets problematic in time. I suggest at least 100MB.
Are you trying to ask a new question or are you trying to answer the obsolete and confused question of this thread from six years ago?

The subject line of this thread was based on a misunderstanding by the OP, so the actual question and the useful replies were not directly related to the subject line.

Your new reply does fit the subject line, but because it doesn't fit the original question and because the original question has much simpler solutions now, your post isn't useful as an answer to this thread. It also doesn't work well on the end of an old thread if your purpose is to ask a new question.

Last edited by johnsfine; 03-22-2010 at 03:53 PM.
 
0 members found this post helpful.
Old 05-14-2011, 01:21 PM   #12
Thejoker
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
Talking Just brilliant!

Quote:
Are you trying to ask a new question or are you trying to answer the obsolete and confused question of this thread from six years ago?

The subject line of this thread was based on a misunderstanding by the OP, so the actual question and the useful replies were not directly related to the subject line.

Your new reply does fit the subject line, but because it doesn't fit the original question and because the original question has much simpler solutions now, your post isn't useful as an answer to this thread. It also doesn't work well on the end of an old thread if your purpose is to ask a new question.
Wow, I had to register and make a zombie post just to congratulate you John!! 'cause every time I go on the net looking for answers and trying to learn I can't but just marvel myself at the amount of asses around the net trying to look smart, you are really something boy, congratulations ass!


I really hope that by this time you already had some sex ...Seriously!
 
0 members found this post helpful.
  


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
Dual Boot - reducing size of linux partition? xTheLostx Linux - General 2 09-24-2005 07:07 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
Change Mandrake partition size on dual boot WITHOUT trashing the other partitions! Ygarl Linux - Software 4 03-25-2004 06:49 PM
fdisk partition size differs from mounted partition size jimieee Linux - General 3 10-15-2003 04:10 AM
Linux Partition Size Help vishalwaghmare Linux - Newbie 9 01-01-2003 04:10 PM


All times are GMT -5. The time now is 10:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration