LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2010, 10:50 AM   #1
sarahf60
LQ Newbie
 
Registered: Feb 2010
Posts: 20

Rep: Reputation: 1
Unhappy missing boot loader


I'm ubuntu 9.10 user after he last using I 've lost my boot loader , now i can't use neither linux or widows.
who can help me what should I do ?
 
Old 03-24-2010, 12:49 PM   #2
rubentje1991
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: PCLinuxOS
Posts: 102

Rep: Reputation: 22
Wink bootloader

I don't know what you've done exactly (maybe you can explain: re-install a distro, or only shut down you computer and it was like that?)

but is it possible to boot the live-cd and repair the bootloader (reinstall GRUB(2?) - maybe have a look on the ubuntu-site / forum:
reinstall GRUB2

or post here the output of the following command (I hope the file is there) after you booted into ubuntu with the live-cd
cat /boot/grub/grub.cfg
 
Old 03-24-2010, 12:57 PM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
What u did ?
U can use ubuntu live cd to get in ,or u have to recover ur grub by reinstalling grub menu.
 
Old 04-03-2010, 05:29 AM   #4
sarahf60
LQ Newbie
 
Registered: Feb 2010
Posts: 20

Original Poster
Rep: Reputation: 1
Unhappy missing boot loader

hi
I've done all the stages in reinstall GRUB2 but nothing have happened.
still I cant use my linux
I've also run this command:
cat /boot/grub/grub.cfg
I got this error : error in output/input
or by running grub-setup command i see this message:
try grub-setup --help (i've examined all the options )

Last edited by sarahf60; 04-03-2010 at 05:36 AM.
 
Old 04-03-2010, 06:28 AM   #5
Jim44
Member
 
Registered: Feb 2006
Location: Atlanta, Georgia, USA
Distribution: Mint, Ubuntu, Centos
Posts: 57

Rep: Reputation: 15
Quote:
Originally Posted by sarahf60 View Post
hi
I've done all the stages in reinstall GRUB2 but nothing have happened.
still I cant use my linux
I've also run this command:
cat /boot/grub/grub.cfg
I got this error : error in output/input
or by running grub-setup command i see this message:
try grub-setup --help (i've examined all the options )
I think I'm going to have the same problem when I reboot the next time. I'm not comfortable with what my aptitude upgrade did to grub.

In any case, a workaround would be to install another distro (like Ubuntu 8.04) if you have free disk space. If you don't have free disk space you can boot a gparted cd and squeeze a little space from another partition. When you install the other distro, it will most likely find your 9.10 install and add an entry into it's WORKING grub. If not, just run fdisk -l and see what partition 9.10 resides on, mount it temporarily and see what kernel/ initrd.img files you'll need to stick in the menu.lst or what ever config file this distro uses.

The other option is to boot a recovery disk and install lilo. It still exists on 8.04.

Jim.
 
Old 04-03-2010, 06:56 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
this has happened to me too

Only solution I can come up with was to use a livecd with grub 1, install grub1 to hdd mbr
convert grub.conf to menu.lst for grub1 and edit menu.lst
then reboot into reg grub menu.lst

boot your buntu install and at desktop open a terminal, become root and do

Code:
upgrade-from-grub-legacy
or

Code:
sudo upgrade-from-grub-legacy
if that doesnt work first purge grub and grub-pc
with

Code:
sudo aptitude purge grub grub-pc
itll complain but make it purge the grub-pc configs too

then do

Code:
aptitude install grub-pc
it should install to mbr, update
and then just reboot

most time I use this with grub1 grub legacy

say I wanna install grub to sda1
first mount sda1 if you can
if mounted on /media/disk
Code:
grub-install --root-directory=/media/disk /dev/sda
that should work
 
Old 04-05-2010, 01:05 AM   #7
sarahf60
LQ Newbie
 
Registered: Feb 2010
Posts: 20

Original Poster
Rep: Reputation: 1
format my pc

unfortunately none of these solutions could help me , nothing had happened. I want to reinstall both os (windows & ubuntu) but my windows can't recognize the hard disk. how can i format my hard by linux
 
Old 04-05-2010, 03:58 AM   #8
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Arch
Posts: 10,018

Rep: Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199
The format option is part of the install on the Ubuntu CD
 
  


Reply


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
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM
Grub Loader goes missing... hotbacteria Fedora 1 10-16-2006 05:40 AM
Boot loader missing??????????............... flamel2000 Red Hat 4 03-27-2006 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:45 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