Post by Dave YeoHi Wolfi, I'm far from expert and right now my Ubuntu install is fscked
up :)
Post by WolfiPost by Trevor HemsleyOn Wed, 6 May 2009 07:18:28 UTC in comp.os.os2.ecomstation, Wolfi
Post by WolfiSo, where (OS/2 or Linux) and how exactly would I need to apply which
options, when formatting partitions as JFS, so that they can be
understood and accessed by both operating systems?
The file system has to be formatted using a blocksize of 4096
(/BS:4096) which is the default if not specified anyway.
This is in OS/2, right?
And what is the default being used by Linux, the same or something
different?
Both Linux and OS/2 have the same defaults.
That's excellent to hear :-)
Post by Dave YeoIIRC there is also a compatibility mode setting on Linux
I couldn't find anything to apply optional parameters in ubiquity. Those
might then only be available from within the "Alternate"-CD installer.
Post by Dave YeoPost by WolfiPost by Trevor HemsleyAre you sure that it's not just the partition type that is causing
your Linux system to not see the drive?
At this point I still don't have much of a clue and depend pretty much
on detailed step by step instructions, since I'm still struggling
getting started and more familiar with Linux, which is kind of
difficult, considering that Ubuntu apparently is dragging a long a
severe bug since quite a while now, preventing grub-install to do what
it is supposed to do.
What would the partition type need to be, Linux' 82h or OS/2's default?
I'd advice installing Linux on type 83 and just mounting your OS/2
partitions. Our type 35 seems to be too new for Linux
Do you mean by that, that the auto-mount Ubuntu is trying to do, but
kind of failing with it - I get the drive icons, but cannot read
anything and also still have the MB2-menu "mount" option in Nautilus,
but it's not working. but again, it also still could be just a rights
problem, which I cannot test anymore right now w/o having to reboot
first, due to "sudo nautilus" not working.
Post by Dave YeoPost by WolfiI wanted JFS as file system for "/" and for "/home" and selected so in
the ubiquity installer and also the GRUB bootloader (stage 1 I think is
that) to be put in the PBS of "/home" and that just doesn't work (for
"/" neither, BTW), grub-install repeatedly simply fails.
So far I don't know my way around that one yet.
Try creating a /boot where GRUB should put its bootloader. (and there is
actually an option for this in the newer Ubuntus). (You should also be
It's almost at the very end of the configuration options, I was using
that, but that century old *&@#$%? bug(s) in Ubuntu's grub-install
prevents it from going through with it.
Based on the little I think to know so far about the Linux boot process
using GRUB, I wanted the first-stage bootloader to be in the /home PBS,
since that is supposed to overcome updates/distribution changes and
that's where the OS/2 BM would point to.
This stage-1 GRUB boot code would then point to /boot, which, if I'm not
mistaken, would also house GRUB's stage-2 stuff and would have ended up
on the "/" partition, together with everything else.
AFAIR, there then should be /grub inside /boot, right?
Here with my broken installation try, I don't have /boot/grub at all,
only the kernel files in /boot.
So far, I have not the faintest idea, if this plan is a smart or a dumb
one :-[
Are you indicating, that it would be better, to have /boot on a separate
partition?
This is especially relevant, since I would like to be able to have, at
least at times, one or more additional/other Linux distris/versions for
testing/trying out around and was wondering already, how GRUB then would
be able to manage and deal with different kernel versions and
accompanying files and in whose /boot they actually would end up in, if
no dedicated /boot partition is being used.
And what kind of rule-of-thumb size (per intended distri/version(?))
should the /boot partition then be?
Post by Dave Yeoable to add /boot to BootManager). If you want to share between OS/2
and Linux you should create all the partitions in OS/2 or with DFSEE.
You can always use LINUX fdisk to change the partition type to make
Linux happy.
But that would only be valid for the Ubuntu installation period, if that
is what's currently preventing ubiquity to work, because otherwise I
couldn't access the Linux partitions from OS/2 due to the wrong
partition-ID, right?
Post by Dave YeoPost by WolfiAt first, when I had the intended Linux partitions formatted in OS/2,
the installer would start and guide me through its menus, so everything
seemed to be fine.
But after some time I ended up with the Live-System rather with the
expected reboot after the "installation" had supposedly finished.
Using Nautilus I then looked into \target, where I expected the
installed files to show up, but there was nothing at all.
/var/log/syslog also showed, that copying files to "/" and "/home" had
failed.
This may be an issue with the partition type. OS/2 uses 35 and Linux
uses 82. Once again I'd suggest not sharing / , just mounting the OS/2
partitions.
Right, wasn't sure anymore which ID is /swap and which one the rest.
Then I give it a try on my next run, with partitions formatted by OS/2,
but the partition ID then changed to 82, to see, if that then makes the
ubiquity installer happy.
OK, but here I don't quite understand, where/what is the difference
between sharing and mounting a partition?
What I'd like to be ending up with is the option to access/exchange
files between both worlds, if needed on occasion and ideally use common
profiles for stuff like Mozillas, if that actually would be possible.
Post by Dave YeoPost by WolfiSo, in my next try I let Linux also re-format the designated partitions,
when I was assigning the mount points in the installer.
This time, copying the files worked, but I'm still stuck with the
grub-install bug and haven't tried yet, if I now actually could read
those 2 partitions from OS/2.
OS/2 won't read them due to the partition ID
Right! forgot about that one for a moment. But if I'm not mistaken, I
picked up somewhere that (a running) Linux actually doesn't care about
the partition ID, so changing it back later to 35 should make OS/2 happy
then after all, right?
Post by Dave YeoPost by WolfiI also tried both, booting from the Jaunty Desktop CD and select
Installation, but also boot up the Live system and start the
installation from the Desktop icon. Both ways fail the same way.
Post by Trevor HemsleyWhat happens if you manually mount it using
mount -t jfs /dev/sda1 /mnt/jfs
where /dev/sda1 is the right device name and /mnt/jfs is a directory
name that points to an empty directory.
At which point and how would I need to do that during the installation?
I just tried that for the 2 OS/2 JFS partitions on this HDD, which still
show up in Nautilus with that binary (00/01) icon.
I did: sudo mkdir /mnt/jfs1
sudo mkdir /mnt/jfs2
sudo fdisk -l /dev/sda
sudo mount -t jfs /dev/sda6 /mnt/jfs1
sudo mount -t jfs /dev/sda7 /mnt/jfs2
Ahaaa! I still don't see anything in Nautilus, when I look into
/mnt/jfs1 or/jfs2 - they are both still empty, but this could be due to
user right stuff, right?
This would be the user right stuff. Only root has access at this point.
Post by Wolfisudo nautilus
nautilus 13417: Eel-Warning **: GConf-Error: .......
nautilus 13417: Unique-DBus-Warning **: Unable to open a connection ....
nautilus 13417: Unique-DBus-Warning **: Unable to connect to the .....
I think that sudo is getting its settings from /root which is roots home
directory. And especially in Ubuntu /root doesn't have sane defaults
installed.
Great :-( They are making it really 'easy' for newbies.
If you can't get it installed in the first place, then you don't need to
worry about it at all ;-)
Post by Dave YeoPost by Wolfibut: sudo ls /mnt/jfs1 | /jfs2
actually lists the Warp partition stuff :-) Nice!
Yes at this point root has access but not the user wolfi. IIRC you can
At this point right now I am actually still the "Live session user" from
my various installation trials, but apparently it also only has limited
rights.
Post by Dave Yeouse chmod to change the permissions of /mnt/jfs1 but I really can't
remember how I did it. Try chmod --help.
I actually had a brief look at it, but didn't quite know how to deal
with my "Live session user".
Is that the actual real name being used right now?
How does one query the currently logged-in user?
Post by Dave YeoI'd suggest waiting for someone more knowledgeable then me to add to
what I wrote above, but I think (hope) I generally have it right.
I really appreciate that, Dave.
With Linux being so different in so many ways from what I'm familiar
with, I take any help and pointer I can get, most importantly when it
comes to shell syntax.