Unix Technical Forum

Re: BOOT-CD Problem

This is a discussion on Re: BOOT-CD Problem within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> *** post for FREE via your newsreader at post.newsfeed.com *** Sami Kujala schrieb: > Hmm, I implicitly assumed you ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 04:17 AM
Ewald Peters
 
Posts: n/a
Default Re: BOOT-CD Problem

*** post for FREE via your newsreader at post.newsfeed.com ***

Sami Kujala schrieb:
> Hmm, I implicitly assumed you were using OBSD 3.3, the source of
> your problems _might_ be just that. What if you tried doing your
> livecd system with 3.3 instead of 3.2?


Bad news, but i'll try it ...

> I would recommend as much RAM as possible and pushing the kernel
> option BUFCACHEPERCENT to as big as possible so you would the get
> the biggest benefit of cache as cdrom access is slooooow... But
> this you already knew, I guess.


yes i realised that, i'll try this option

> What do you need /root for? You are not logging into the computer
> as root, are you? Big Boys Say that you should avoid logging in


ok normally i don't login as root, but just for developing this live-cd
i did,
ok i'll change this also

> > first i mount fstab like you (is 'swap /tmp mfs
> > rw,nodev,noexec,nosuid,noatime,-s=262144 0 0' really right? X
> > needs this dir to create several files ...)

> Is there something wrong with it? /tmp is mounted on a memory
> filesystem which is read-write so e.g. X can write into it.


probably there is something wrong only with OBSD 3.2,
but /tmp seems to be a special directory for the mount_union-approach
because the rest of the directories of the CD are mounted like

mount_union /tmp $dir

which leads into this funny view where everything appears in every
directory
But i tried to change /tmp to /mnt and it did't work, but i can't
remember why.

> > secondly i mount_union the rest of the CD in /tmp like
> > http://www.blackant.net/other/docs/h...om-openbsd.php
> >
> > i think this works now (only the mounting)

>
> I tried that but I had some weird problems, like mysterious
> extra directories suddenly appearing in /usr.


that is what i also have. i think this is because mount_union
mounts everything on the same mountpoint and makes one layer above the
other

> > so you think /root and /bin /sbin /usr can stay read only? is
> > this really the case? what does 'mount' say on your system?

>
> In my opinion, yes with the possible exception of /root. Honestly
> speaking I forgot all about that directory , but so far my
> system works quite fine with /root mounted read-only.
>
> output of mount:
>
> /dev/cd0a on / type cd9660 (local, noatime, read-only)
> mfs:27877 on /dev type mfs (asynchronous, local, noatime, \
> union, size=12000 512-blocks)
> mfs:14294 on /tmp type mfs (asynchronous, local, noatime, \
> nodev, noexec, nosuid, size=262144 512-blocks)
> mfs:26743 on /var type mfs (asynchronous, local, noatime, \
> size=262144 512-blocks)
> mfs:16007 on /etc type mfs (asynchronous, local, noatime, \
> size=131072 512-blocks)
> mfs:1247 on /home type mfs (asynchronous, local, noatime, \
> size=262144 512-blocks)


ok, so it is obvious that you did exactly what is suggested in
http://www.blackant.net/other/docs/h...om-openbsd.php
and the rest seems to work fine read-only

> Why should well-behaving *nix applications care if they are on a
> cd or a hd? They see the same file structure as previously, only
> now parts of it is on a read-only partition. With Windoze your
> problem is true, at least to some extent.


to me it seems that i sometimes have to fight with not-well-behaving
*nix applications
i'm a obsd fan but sometimes it would be nice to have a Windoze live-cd
that also doesn't need a hd.

> Have fun with your hd-less workstations and do let us know of
> your experiences when/if you succeed with your attempts.
>
> Have a nice day now,


i'll try it, but this will be a nice week i'm afraid ...

thanx

Ewald


-----= Posted via Newsfeed.Com, Uncensored Usenet News =-----
http://www.newsfeed.com - The #1 Newsgroup Service in the World!
-----== 100,000 Groups! - 19 Servers! - Unlimited Download! =-----

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com