Author Topic: BSD booting  (Read 1324 times)

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
BSD booting
« Reply #15 on: 22 June 2002, 10:00 »
Hmmm, the machine I have FreeBSD installed on here at home is in a VMware session so I couldn't test the mounting procedure but according to "man mount" that should have done it.  And my machines at work are all standalone BSD boxes.  As you can tell, I am not as familiar with the FreeBSD boot loader.  I'll have to do some more research (I hate to do another install although my main machine is configured similar to yours, I could shrink the partition on my second drive and do an install to that partition and see if I can duplicate and solve your issue.  But I don't think it's going to happen tonight, actually probably not at all this weekend as I have a fun packed weekend ahead.  Sorry I couldn't help you.  Maybe some of these "BSD Rules" types on here can help you out.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
BSD booting
« Reply #16 on: 22 June 2002, 10:26 »
If i used GRUB there would be no need for the kernel to be on the boot partition. But i already swwitched to LILO. How do i get GRUB back on?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
BSD booting
« Reply #17 on: 22 June 2002, 10:39 »
Doesn't "grub-install /dev/hda" do it?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
BSD booting
« Reply #18 on: 22 June 2002, 22:27 »
in GRUB.conf where i have to put in the HD. What would i put down for /dev/hdb3? (in my Reddhat Entry it says (hd0,0) for /dev/hda)
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
BSD booting
« Reply #19 on: 23 June 2002, 00:35 »
probably (hd1,2) check out this document here
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
BSD booting
« Reply #20 on: 23 June 2002, 00:53 »
Error22: No such partition
is the error i get when i used (hd1,2).

I should have added 'noverify' and 'chainloader +1' to the BSD entry, and installed the BSD bootloader on /dev/hb3, which i didnt. So i am fucked, unless i can figure out some way to install the FreeBSD bootloader. Maybe I will re-install FreeBSD.

[ June 22, 2002: Message edited by: Master of Reality / Bob ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
BSD booting
« Reply #21 on: 23 June 2002, 00:56 »
the numbers depend on how many SCSI and how many IDE drives you have, since GRUB reads them in a particular order, read the doc...
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
BSD booting
« Reply #22 on: 19 October 2002, 02:22 »
quote:
Originally posted by VoidMain:
And you can also mount your BSD partition in Linux if you want to look around at the configs:

# mkdir /mnt/bsd
# mount /dev/hdb2 /mnt/bsd -t ufs -o ufstype=44bsd

should do it.
[ June 22, 2002: Message edited by: VoidMain ]


that doesnt work to mount my OpenBSD partition. Is there any reason why it wouldnt mount properly with taht command?

i used:
    # mount /dev/hdb3 /mnt/bsd -t ufs -o ufstype=44bsd
and it says:
    mount: wrong fs type, bad option, bad     superblock on /dev/hdb3,
           or too many mounted file systems
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
BSD booting
« Reply #23 on: 19 October 2002, 03:27 »
What fstype are you using? And what partition type is it (code in "fdisk")?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
BSD booting
« Reply #24 on: 19 October 2002, 06:56 »
i dont know what fstype it is. Its partition type A6 (OpenBSD)
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
BSD booting
« Reply #25 on: 19 October 2002, 07:26 »
Try adding a "-r" (read only) and see if that works:

# mount -r -t ufs -o ufstype=44bsd /dev/hdb3 /mnt/bsd

And of course make sure the /mnt/bsd directory exists (but I know you know that). That should for sure work with FreeBSD, maybe the new OpenBSD has changed it's file system but it's supposed to work.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
BSD booting
« Reply #26 on: 19 October 2002, 21:03 »
that doesnt work for FreeBSD or OpenBSD which are on separate computers and i am trying to access FreeBSD with Slackware and OpenBSD with Redhat.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
BSD booting
« Reply #27 on: 19 October 2002, 21:48 »
Don't know man, you'll have to do some more research. I don't have Linux and *BSD together on the same machine anywhere, except for my desktop where I have it running in a VMware session, but that doesn't help for what you are trying to do.
Someone please remove this account. Thanks...