LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-07-2010, 10:41 AM   #31
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917

Did you not read the post no. 29 ? The output of which grub is NULL.
 
Old 10-07-2010, 10:45 AM   #32
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
that was execute with normal user so can you do

sudo which grub
 
Old 10-07-2010, 10:48 AM   #33
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Code:
anisha@aquarius ~ $ su
Password: 
 _________________________________
( So you're back... about time... )
 ---------------------------------
       o   ,__,
        o  (oo)____
           (__)    )\
              ||--|| *
aquarius anisha # which grub
aquarius anisha #
 
Old 10-07-2010, 11:09 AM   #34
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

I had to re-read the posts.Form all I came to know(let me know if I am right?)that you have two Linux Mint Installation.When you boot with external usb drive the system boots normally and if you boot without external usb it does'nt.

Connect the external hdd and let us know the GRUB which boots.I want to know which grub it shows is it of Internal hdd or of external usb drive?

Connect external usb drive and give us the output of

Quote:
fdisk -l
and

Quote:
df -h
 
Old 10-07-2010, 11:17 AM   #35
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
dh is not installed, i shall download the package tomorrow. Thanks.

Code:
aquarius anisha # fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f0989

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1306    10490413+  83  Linux
/dev/sda2            1307        6528    41945715   83  Linux
/dev/sda3            6529       19458   103853057    5  Extended
/dev/sda5            6529       18927    99587072   83  Linux
/dev/sda6           18927       19458     4264960   82  Linux swap / Solaris

Disk /dev/sdb: 500.1 GB, 500107861504 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003061f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         623     4999168   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2             623        1121     3998721    5  Extended
/dev/sdb3            1121       60802   479385600   83  Linux
/dev/sdb5             623        1121     3998720   82  Linux swap / Solaris
 
Old 10-07-2010, 11:52 AM   #36
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

Its

df -h not dh -h

Also let me know the output of

/boot/grub/grub.conf

or

/etc/grub.conf

I think you can solve the problem following post 5 and post 15.
 
Old 10-07-2010, 11:54 AM   #37
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Sorry,

aquarius anisha # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 94G 2.0G 87G 3% /
none 996M 352K 995M 1% /dev
none 1003M 0 1003M 0% /dev/shm
none 1003M 292K 1002M 1% /var/run
none 1003M 0 1003M 0% /var/lock
none 1003M 0 1003M 0% /lib/init/rw
 
Old 10-07-2010, 12:13 PM   #38
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
hi,
try post no.5
where sdx=sda

it will work

In short.
Boot from rescue cd/dvd
when you get prompt
type

Quote:
#chroot /mnt/sysimage
#grub-install /dev/sda
Then try booting system with and without external drive!
let us know, i am anticipating the solution!
 
Old 10-07-2010, 01:08 PM   #39
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
What is the harddisk number in which i should install grub, you have to tell me from the output i gave you ?
 
Old 10-07-2010, 01:27 PM   #40
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Install on sda itself not on sda1 or sda3
 
Old 10-07-2010, 01:29 PM   #41
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
You also need to make the entry of sdb in your grub.cfg(of sda),so that you can boot the second mint os of external usb drive by making selection in GRUB.

/boot/grub/grub.cfg is the path

Last edited by prayag_pjs; 10-07-2010 at 01:48 PM.
 
Old 10-08-2010, 07:34 AM   #42
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Any luck with grub installation?
 
Old 10-08-2010, 07:38 AM   #43
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
I am in office right now. Bad Grub is in my home and if your said method crashes my hard-disk I am going to pull out your hair
 
Old 10-08-2010, 07:47 AM   #44
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Cool

Quote:
Originally Posted by anishakaul View Post
I am in office right now. Bad Grub is in my home and if your said method crashes my hard-disk I am going to pull out your hair
Ya sure,I didn't go to the barber from last so many days!!
 
Old 10-09-2010, 10:03 PM   #45
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
I was just starting to follow your said method, when I remembered that I have a DUAL boot of OpenSuse 11.2 and Linux-Mint on my internal disk.

I installed Mint after Suse thats why it(Suse) doesn't get shown while the boot up process.

Will that effect anything now if I follow your said method ?
 
  


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
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 04:35 AM
Grub rescue error by unknown partition jeffinfrank Linux - Laptop and Netbook 2 04-28-2010 06:59 PM
Grub, device string replaced with 32 digit hexadecimal number. Caused Grub "error 11" VipX1 Linux - Newbie 3 10-19-2009 06:27 PM
Boot Error + GRUB + Rescue Mode najeebsyed2 Linux - Software 9 11-01-2007 10:08 AM
printing 64 bit hex number lilzz Linux - Newbie 8 08-20-2006 09:16 PM


All times are GMT -5. The time now is 11:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration