Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-05-2006, 02:00 PM
|
#1
|
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:
|
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.
|
|
|
10-05-2006, 03:34 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
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.
|
|
|
10-06-2006, 05:05 AM
|
#3
|
Member
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347
Rep:
|
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
|
|
|
10-06-2006, 07:00 PM
|
#4
|
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:
|
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?
|
|
|
10-06-2006, 07:06 PM
|
#5
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
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.
|
|
|
10-06-2006, 07:23 PM
|
#6
|
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:
|
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
|
|
|
All times are GMT -5. The time now is 08:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|