FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-12-2012, 05:53 AM
Dibesh Shrestha
 
Default about dual booting freebsd 9 and debian 6.04

dear all,ear AllI am trying dual boot on my pc.I have installed freeBSD 9.0 and Debian 6.0.4. I did not install boot loader while installing freebsd but i installed grub in debian. My partition looks as follow :
ada0 ¬* ¬* ¬* ¬*74GB ¬* ¬* ¬* ¬*GPT¬* ¬* ada0p1 ¬*2.1 GB ¬* ¬* ¬*linux-swap¬* ¬* ada0p2 ¬*30GB ¬* ¬* ¬* ¬*freebsd-ufs¬* ¬* ada0p3 ¬*42GB ¬* ¬* ¬* ¬*linux-dataI could login to debian and edited the file /etc/grub.d/40_custom in debian.
#!/bin/shexec tail -n +3 $0menuentry ‚ÄėFreeBSD 9.0 '{¬* ¬* ¬* ¬* set root='(hd0,2)' ¬*¬*¬* ¬* ¬* ¬* chainloader +1}And when i reboot i can see the frebsd 9.0 but it does not boot.It gives the following error:

error: unknown command ' ¬* ¬* ¬* ¬* ¬* ¬*'.error: unknown command ' ¬* ¬* ¬* ¬* ¬* ¬*'.press any key to continue...


My harddisk is SCSI. Am i having problem with drive letter hd0?If its a problem what could be appropriate drive letter?

regardsdbase
 
Old 04-12-2012, 10:54 AM
Andrei POPESCU
 
Default about dual booting freebsd 9 and debian 6.04

On Jo, 12 apr 12, 14:53:49, Dibesh Shrestha wrote:
> dear all,
> ear All
> I am trying dual boot on my pc.I have installed freeBSD 9.0 and Debian
> 6.0.4. I did not install boot loader while installing freebsd but i
> installed grub in debian. My partition looks as follow :
> ada0 74GB GPT
> ada0p1 2.1 GB linux-swap
> ada0p2 30GB freebsd-ufs
> ada0p3 42GB linux-data
> I could login to debian and edited the file /etc/grub.d/40_custom in debian.

How about if you make sure you have os-prober installed and run
'update-grub'

Kind regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 04-12-2012, 03:47 PM
Rares Aioanei
 
Default about dual booting freebsd 9 and debian 6.04

On 04/12/2012 01:54 PM, Andrei POPESCU wrote:

On Jo, 12 apr 12, 14:53:49, Dibesh Shrestha wrote:

dear all,
ear All
I am trying dual boot on my pc.I have installed freeBSD 9.0 and Debian
6.0.4. I did not install boot loader while installing freebsd but i
installed grub in debian. My partition looks as follow :
ada0 74GB GPT
ada0p1 2.1 GB linux-swap
ada0p2 30GB freebsd-ufs
ada0p3 42GB linux-data
I could login to debian and edited the file /etc/grub.d/40_custom in debian.

How about if you make sure you have os-prober installed and run
'update-grub'

Kind regards,
Andrei
The script does not detect BSDs automatically. Your setup looks correct,
but you need to create a file in /etc/grub.d and follow the instructions
as per
http://unix.stackexchange.com/questions/16886/set-up-grub2-to-boot-freebsd-using-either-ubuntu-tools-or-liveusb-to-find-what-p
. A simple Google search for "grub2 freebsd" would have gotten you there
as well


Best,

--
Rares Aioanei


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4F86F8F4.7040706@gmail.com">http://lists.debian.org/4F86F8F4.7040706@gmail.com
 

Thread Tools




All times are GMT. The time now is 03:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org