Update

Share your ideas, questions or suggestions with us here.
hank2000
Posts: 253
Joined: Mon Sep 16, 2013 9:42 am

Re: Update

Post by hank2000 »

pfuuuuu: lost!
now with Ghost boot and loader I started again and now have 4 entries with F1 Linux, F2 freeBSD, F3 Linux (?) and F4 ? and clicking all of them I get load s of hashes but no boot, except for F2 after trying several times....?
should I try these commands by Eric then when in GhostBSD?

best
Achim :?
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: Update

Post by ASX »

hank2000 wrote:pfuuuuu: lost!
Me too! :?:

Please use a setup and stick with that, we will work with you to solve any issue if any, but if you change the picture so often that's a moving target ... hard to follow ...

Fedora is just one example of Linux that doesn't provide UFS/ZFS support in their grub install, not by default at least.

see this:
https://forums.freebsd.org/threads/56803/

and this:
https://forums.freebsd.org/threads/58008/
hank2000
Posts: 253
Joined: Mon Sep 16, 2013 9:42 am

Re: Update

Post by hank2000 »

Hi,

I guess, with "change the picture" You mean changings distros?
I m sorry, would take Mint again, if that s better tog. with GhostBSD, was just a chance for another 32bit Linux to try with dual boot, as Mint didn t boot at all after adding it to GhostBSD.
But then I didn t know it has NO UFS/ZFS support whatsoever! sorry, but it was already a pain in the a** before, years ago, so donnow why I tried again. :(
Fact is:
I have now a running GHOSTBSD on my Asus with Ghost version of GRUB and only Ghost visible, but somewhere is a hidden Linux that does NOT show up, even with this mk.grub-commands Eric gave me.
When I try Linux Mint again, should this recognize the installed GhostBSD version and allow a dual boot via GRUB (even if I have to manually add something)?
Then I would give it another try tonight, otherwise I d better stay with a single GhostBSD-boot which allows me 57GB of space using... ;-)
and thx for the two forum subjects on dual-boot: at least I learned now diff. between MBR and "slice"! :)
will consider carefully a new Mint-installation and try to include GhostBSD with their GRUB, and hope the best tonight!
thx for Your patience BTW! (more a normal user than a developer, You know! ;-) )

best
Achim
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: Update

Post by ASX »

hank2000 wrote:Hi,

I guess, with "change the picture" You mean changings distros?
not only change distro, also switching between grub and FreeBSD boot manager...
I have now a running GHOSTBSD on my Asus with Ghost version of GRUB and only Ghost visible, but somewhere is a hidden Linux that does NOT show up, even with this mk.grub-commands Eric gave me.
OK, start here and provide a few additional info:

partition table:

Code: Select all

gpart show -p
then we need to know if you installed a boot loader from Mint and eventually where (MBR / partition ?)
or, if no boot loader was installed (or overwrote from GhostBSD install), we need to know the exact name and location of the Linux kernel (and initrd/initramfs).
hank2000
Posts: 253
Joined: Mon Sep 16, 2013 9:42 am

Re: Update

Post by hank2000 »

Hi ASX

well:

it s on the Asus eee PC now with Linux Mint installed first, then GhostBSD overwrote its old installation and installed its own Bootloader.
I took UFS+J as filesystem, user configured partitioning and the GhostBSD Bootmanager + loader (guess with /MBR), the 2nd choice with installation menu!
Now I have four entries with F1=Linux, F2=FreeBSD/Ghost, F3=? and F4=?

gpart show -p says:

=> 63 312581745 ada0 MBR (149G)
63 1985 - free - (993K)
2048 1024000 ada0s1 linux-data (500M)
1026048 184313856 ada0s2 freebsd (active) (88G)
185339904 2048 - free - (1.0M)
185341952 4259840 ada0s3 linux-swap (2.0G)
189601792 2046 - free - (1.0M)
189603838 122976258 ada0s4 ebr (59G)
312580096 1712 . free - (856K)

=> 0 184313856 ada0s2 BSD (88G)
0 184311808 ada0s2a freebsd-ufs (88G)
184311808 2048 - free - (1.0M)
=> 0 122976258 ada0s4 EBR (59G)
0 47022809 ada0s5 linux-data (22G)
47022809 35595561 ada0s6 linux-data (17G)
82618370 40357888 ada0s7 linux-data (19G)

I guess, ada0s5-0s7 is my Linux Mint and the 88GB are GhostBSD!
I now need something about adding entries to the Bootloader me think...
"if no boot loader was installed (or overwrote from GhostBSD install), we need to know the exact name and location of the Linux kernel (and initrd/initramfs)."
how do I check this best?

Achim
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: Update

Post by ASX »

hank2000 wrote:gpart show -p says:

=> 63 312581745 ada0 MBR (149G)
63 1985 - free - (993K)
2048 1024000 ada0s1 linux-data (500M)
1026048 184313856 ada0s2 freebsd (active) (88G)
185339904 2048 - free - (1.0M)
185341952 4259840 ada0s3 linux-swap (2.0G)
189601792 2046 - free - (1.0M)
189603838 122976258 ada0s4 ebr (59G)
312580096 1712 . free - (856K)

=> 0 184313856 ada0s2 BSD (88G)
0 184311808 ada0s2a freebsd-ufs (88G)
184311808 2048 - free - (1.0M)
=> 0 122976258 ada0s4 EBR (59G)
0 47022809 ada0s5 linux-data (22G)
47022809 35595561 ada0s6 linux-data (17G)
82618370 40357888 ada0s7 linux-data (19G)
Hi,
the disk ada0 is MBR partitioned, as:

primary: ada0s1- 500 MB (unknown)

primary ada0s2 - 85 GB Ghostbsd, furtherly subdivided as:
- ada0s2a - most likely the rootfs '/' partition of GhostBSD

primary ada0s3 - 2 GB - linux swap

primary: ada0s4 Linux Extened partition, furterly subdivided as:
- ada0s5
- ada0s6
- ada0s7
~~~~~~~~~~~~~~

most likely Mint is installed on ada0-s5/s6/s7 (possibly '/', home, ...) and remain to be seen what is ada0s1 ... it could be a separate /boot ....

Log in into GhstBSD, open a terminal, and launch:

Code: Select all

sudo grub-mkconfig
please post the command and the output on pastebin and post back the related link here, I still think grub is able to detect your linux install.

~~~

to find where the kernel is, you need to mount each ext partition one at a time and list the content:
do the following: form a GhostBSD terminal:

Code: Select all

su (provide the root password as requested)
mount -t ext2fs /dev/ada0s1 /mnt
ls /mnt
umount /mnt

mount -t ext2fs /dev/ada0s5 /mnt
ls /mnt
umount /mnt

mount -t ext2fs /dev/ada0s6 /mnt
ls /mnt
umount /mnt

mount -t ext2fs /dev/ada0s7 /mnt
ls /mnt
umount /mnt
post back the output (including the commands)
hank2000
Posts: 253
Joined: Mon Sep 16, 2013 9:42 am

Re: Update

Post by hank2000 »

Hi ASX

thx so much for all the help.
will try this tom. in the morning.
on:
"and remain to be seen what is ada0s1 ... it could be a separate /boot ...." > possible rests of the earlier Fedora install? just let Mint automatically choose and 2ndly GhostBSD installation went over the old BSD installation, so partition was already ufs (~85gb I guess)
and: about "pastebin": never used, will have to have a look first! ;-)

best
Achim
hank2000
Posts: 253
Joined: Mon Sep 16, 2013 9:42 am

Re: Update

Post by hank2000 »

Hi there

Pastebin was the best idea so far last couple of weeks!!!
thx a lot for this, didn t know at all but have a lifetime pro account now thx to christmas special sales ;-)

here s the link : http://pastebin.com/byfjwHsd
hank2000
Posts: 253
Joined: Mon Sep 16, 2013 9:42 am

Re: Update

Post by hank2000 »

but now it says:
"mount: /dev/ada0s1: invalid argument" after trying
mount -t ext2fs /dev/ada0s1 /mnt - happens with all partitions; any mistake by me?

added:
I added a - before "ext2fs" (thought it could be missing) but nows says:
"operation not supported by device"? :?
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: Update

Post by ASX »

please try again as follow, from a terminal window:

Code: Select all

su
kldload ext2fs
mount -t ext2fs /dev/ada0s1 /mnt
ls -l /mnt
umount /mnt
Post Reply