LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
LinkBack Search this Thread
Old 05-05-2005, 09:43 AM   #16
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Original Poster
Rep: Reputation: 15

Doh! you're right I should chroot /dev/hda2

But still - when I grub-install --root-directory=/mnt/hda1 /dev/hda1

It creates the boot directory inside hda1, thus causing the /boot/boot scenario.
 
Old 05-05-2005, 10:55 AM   #17
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: West Sussex, England
Distribution: Gentoo
Posts: 1,457

Rep: Reputation: 45
Oh, yeah, actually I remember grub doing that on mine - it's because its config files live in /boot, and /boot can be either a directory or partition.

If it's a dir. on the / partition, then it'll be /boot/grub

If it's on its own partition, then it'll be just /grub on that partition.

So it creates a /boot/boot directory and links the files to /boot - that way, whatever happens, there's a /boot directory on the partition that contains its files.
 
Old 05-05-2005, 01:55 PM   #18
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Original Poster
Rep: Reputation: 15
So how would I get around that?
should I mount /dev/hda1 to /boot on /dev/hda2 and then:
grub-install --root-directory=/boot /dev/hda1

???
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
replace hard drive = L 99 99 99... Diagmato Linux - Hardware 2 07-09-2005 02:46 PM
Replace Hard drive IchBin Linux - Newbie 2 03-11-2005 07:24 PM
Hard drive switch -- What to do? shirtboy Linux - Hardware 2 01-31-2004 09:40 PM
Replace CD-drive with a hard drive (HDD) pdap Linux - Hardware 3 06-10-2003 11:11 PM
Extra hard drive. New distro? Misteree Linux - General 21 02-20-2003 04:42 PM


All times are GMT -5. The time now is 08:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration