LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-05-2006, 02:00 PM   #1
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Rep: Reputation: 19
Want to get rid of dual boot


I've got win98 and fc4 sharing the single 20G hdd on my old pII machine. I no longer want the win98 boot (who would), but worry that by deleting it (by fdisk etc) I will lose the MBR.
Since this is a difficult one to research, I wonder if anyone has any hints/tips and gotchas ?

I guess that I could just delete all the filesystem junk and run it as vfat, but this is not very elegant (IMHO). I'd rather convert it properly to ext3.

Any help appreciated.
 
Old 10-05-2006, 03:34 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You should just be able to format it from within FC4. Just do a mkfs.ext3 /dev/hda1 as root (assuming /dev/hda1 is your win98 partition, of course). This should leave the MBR alone.
 
Old 10-06-2006, 05:05 AM   #3
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Are you booting with grub??? If you are windows isn't on the MBR, do as pljvaldez says and there won't be a problem.
If you're using some other boot loader, you may be better off reinstalling grub to the MBR anyway.
you can do this from a boot floppy, look at "info grub" section 3.1 tells you how to make the floppy, then how to use this to install grub to the MBR. Or you're install #1 CD or DVD
 
Old 10-06-2006, 07:00 PM   #4
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
mkfs.ext3 worked

I have run mkfs.ext3 /dev/hda1 and this worked okay and I checked that I can still boot into FC4 (which I can). MBR is fine!

Good advice guys : thanks :-)

However : you should have told me to stop right there!!

I have now installed FC5 onto hda1 and that install seems to have gone okay (it took a while though) - BUT - for some reason I have a problem getting FC5 to boot as _i_ expected it should.

I have installed FC5 without re-installing grub and have manually edited (hd0,5)/boot/grub/grub.conf to add the init & vmlinuz for FC5. The problem is that root (hd0,1) does not work and I have to specify root (hd0,0) for FC5 to boot. (When I specify root (hd0,1) , it errors with "unrecognised file system"). I don't understand why (hd0,0) works.

So - after booting (successfuly) with (hd0,0) - when I then try to mount /dev/hda5 (my FC4 / mount point) I find that this is not possible - there's a filesystem error which by now I'm too lazy to replicate so that I can paste it here.

There seems to be some conflict between FC4 & FC5. But I think I may have got something wrong maybe.

Or should I just watch telly and stop all this?
 
Old 10-06-2006, 07:06 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
The reason you need (hd0,0) is that you installed FC5 to /dev/hda1, which is (hd0,0) to grub (grub counts from zero so hda is hd0 and partition 1 is partition 0). (hd0,1) corresponds to /dev/hda2. So that's the way it should be.

What is the output of fdisk -l? That might tell you why its upchucking. When mounting /dev/hda5, you need to specify the filesystem type.
 
Old 10-06-2006, 07:23 PM   #6
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
Thanks. You're right, and I'm tired. hda5 is - of course - my /boot partition of the FC4 installation.

Thanks again, pljvaldez. Sorry I'm being an idiot.

[root@hathor ~]# fdisk -l

Disk /dev/hda: 20.4 GB, 20496236544 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1246 10008463+ 83 Linux
/dev/hda2 1247 2491 10000462+ f W95 Ext'd (LBA)
/dev/hda5 1247 1259 104391 83 Linux
/dev/hda6 1260 2465 9687163+ 83 Linux
/dev/hda7 2466 2490 200781 82 Linux swap / Solaris
 
  


Reply

Tags
boot, delete, dual, fc4


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
getting rid of graphical boot aRm1983 Mandriva 5 07-06-2005 04:43 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual booting, want to get rid of windows partition ksgill Linux - Newbie 3 10-29-2004 12:32 AM
Installed Mandrake 9.2 but now I need to get rid of dual boot screen... the_blob2000 Linux - Newbie 8 05-02-2004 05:21 PM
Getting Rid Of Boot Floppy? Orion13 Linux - Newbie 7 04-12-2004 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:55 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
Open Source Consulting | Domain Registration