Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
While trying to format a fat 32 partition, qtparted showed me the wrong partition number and I ended up deleting and formatting my /boot partition (mounted on /dev/hda5 on my drive). Is there a way to recreate /boot? GRUB is/was my boot loader. I havent rebooted my system yet.
I'm running FC2 and 2.6.7 kernel.
edit
Before doing all that ...
you need to fdisk. set the partition type of your /boot partition to 83, format it as ext3 or reiserfs ... whatever it had previously.. After this, you can venture into the chroot stuff.
Thanks.
For some reason I can't boot into Windows XP though Linux works fine.
Apart from restoring the kernel, I had to reinstall grub as the /boot parition's number had changed.
here is fdisk output:
Disk /dev/hda: 41.1 GB, 41110142976 bytes
16 heads, 63 sectors/track, 79656 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 20942 10554673+ c W95 FAT32 (LBA) <-- This is my XP partition
/dev/hda2 20942 79656 29591730 f W95 Ext'd (LBA)
/dev/hda5 41885 42087 102280+ 83 Linux <--- This is /boot now
/dev/hda6 42088 78615 18410080+ 83 Linux
/dev/hda7 78616 79655 524128+ 82 Linux swap
/dev/hda8 20942 41884 10554673+ c W95 FAT32 (LBA) <-- this is the new reiserfs partition
Earlier /dev/hda8 was /dev/hda5 and it was a fat32 partition.
Here is my grub.conf:
default=1
timeout=5
#splashimage=(hd0,5)/grub/splash.xpm.gz
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title Fedora Core (2.6.7)
root (hd0,4)
kernel /bzImage root=/dev/hda6
Any ideas why XP fails to load? Whenever i choose XP it just returns to the same menu.
Thanks,
I tried booting from XP cd and ran fixmbr...now the system doesnt boot at all and I cant type anything. I tried fixboot too but the same output. I did restore the previous mbr. I cant boot to linux but not XP. it says
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.