| |||||||
| Linux OS Problems General Linux-based OS problems. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | |
| Okay I am running Gentoo and My boot Partition is missing... I booted up a live cd and hda2 and hda3 were there but no hda1 can i reinstall hda1 somehow? Well i put in the live cd again and hda1 is there... what happened? BIOS is throwing this at me "Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key" thanks mason Last edited by #!/mason/brain; 11-December-06 at 01:04 PM.. | ||
| | | |
| | #3 (permalink) | ||||||||||||||||||||||||
All I gotta say is that PCapex doesn't have too many linux people on it. Not the right place to ask about linux. Just go straight to the irc channel of gentoo. #Gentoo@freenode.net if I am not mistaken. | |||||||||||||||||||||||||
| | | ||||||||||||||||||||||||
| | #4 (permalink) | |
| this is kind of late, but, what type are the partitions? IM assuming hda2 is your swap space, and hda3 is linux you can fix this if you have gentoo installed on hda3, use the live cd to boot, then, if the hda1 partition still exists, which, it sounds like it doesn't, use fdisk, fdisk /dev/hda, and add an hda1, and don't forget to turn the bootable flag on, you do this by pressing a, in fdisk, and selecting partition one once you have the partition, you can chroot into your linux install, mount hda1 on /boot, and install grub. then, copy the kernel image to /boot, edit the grub configuration file, and install grub to hda, with, grub-install /dev/hda I didn't go into too much detail, because, Im not sure if you've already installed windows, and gentoo if you need some help with this, I could try to help, by going into detail | ||
| | | |
| | #5 (permalink) | ||||||||||||||||||||||||
Fire Hawk, since he's chrooted into the Gentoo install if you try to throw a grub-install /dev/hda he will recieve errors as he hasn't copied the current mtab over to the Gentoo side. You can copy the mtab or if you don't wanna do that you can issue the command "grub" which will give you a grub shell. Then you can do root (hd0,0) <<<< this is assuming /dev/hda1 is your /boot. and then do setup (hd0) and poof.....grub is installed all zee way. Type quit and you're back to shell. | |||||||||||||||||||||||||
| | | ||||||||||||||||||||||||
| | #6 (permalink) | ||||||||||||||||||||||||
sorry, I forgot about the mtab I didn't want to go into too much detail, so, I left the commands out, but, if you do use grub-install /dev/hda you need to copie the mtab with grep -v rootfs /proc/mounts > /etc/mtab or you could use grub instead of grub-install, like Maxed said and like Maxed said, it'll install grub, either way | |||||||||||||||||||||||||
| | | ||||||||||||||||||||||||
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| win98 wont boot after deleting partition cant get it to to anything!! please help!! | les2003 | Windows OS Problems | 19 | 09-December-06 07:54 PM |
| Partition help needed | Swift101 | General OS Tweaks | 5 | 02-September-06 09:33 PM |
| warm boot performs cold boot..... | PCApexUser01 | Intel CPU/Motherboard OC | 9 | 11-June-06 08:09 PM |
| Partition Help | $=Mercenary=$ | Other PC Problem / Help | 1 | 31-December-03 11:09 PM |
| Win XP system/boot partition size | FeRaL | Anything Goes | 4 | 26-June-03 01:07 AM |