Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // PC Apex Forums // PC Apex Troubleshooting // Linux OS Problems

Linux OS Problems General Linux-based OS problems.

Reply
 
LinkBack Thread Tools Display Modes
Old 11-December-06, 12:41 PM   #1 (permalink)
Apex Master Tech Apprentice
#!/mason/brain's Avatar
Default Boot Partition Missing!!!

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..
#!/mason/brain is offline     Reply With Quote
Old 11-December-06, 01:27 PM   #2 (permalink)
Apex Master Tech Apprentice
#!/mason/brain's Avatar
Default Re: Boot Partition Missing!!!

screw it i'm just going to install windows and dual boot gentoo.. been needing to do this anyway cant play some new games in cedaga or wine and game performance aint that great in emulation... dual boot here i come again!
#!/mason/brain is offline     Reply With Quote
Old 20-December-06, 10:17 AM   #3 (permalink)
Apex's Squirrel Revolutionary
Fatsobob's Avatar
Default Re: Boot Partition Missing!!!

Quote:
Originally Posted by #!/mason/brain
screw it i'm just going to install windows and dual boot gentoo.. been needing to do this anyway cant play some new games in cedaga or wine and game performance aint that great in emulation... dual boot here i come again!

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.
Fatsobob is offline     Reply With Quote
Old 20-December-06, 04:51 PM   #4 (permalink)
Apex Tech Maniac
Fire Hawk's Avatar
Default Re: Boot Partition Missing!!!

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
Fire Hawk is offline     Reply With Quote
Old 24-December-06, 12:51 PM   #5 (permalink)
Apex Techie Lite
crash_maxed's Avatar
Default Re: Boot Partition Missing!!!

Quote:
Originally Posted by Fire Hawk
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


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.
crash_maxed is offline     Reply With Quote
Old 03-January-07, 12:32 AM   #6 (permalink)
Apex Tech Maniac
Fire Hawk's Avatar
Default Re: Boot Partition Missing!!!

Quote:
Originally Posted by crash_maxed
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.

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
Fire Hawk is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -5. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.16920 seconds with 9 queries