LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-28-2019, 08:00 AM   #1
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
OpenBSD 6.6 /usr full. 98%


here is photo of df -h etc.

this box is dual booting openbsd 6.6 and xubuntu 18.04. i dont know what to do, give me hint to right direction and i try to do it myself.
Attached Thumbnails
Click image for larger version

Name:	hDveHNC.jpg
Views:	111
Size:	36.0 KB
ID:	31979  
 
Old 11-28-2019, 08:13 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
How many packages do you have installed? You might split out /usr/local/ into its own partition and leave /usr/ for base.
 
Old 11-28-2019, 08:18 AM   #3
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by Turbocapitalist View Post
How many packages do you have installed? You might split out /usr/local/ into its own partition and leave /usr/ for base.
i installed xfce desktop and couple of progs like geany, conky.
 
Old 11-28-2019, 08:32 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
make /usr partition bigger by shrinking c or e, not sure what c is or as suggested move /usr/local/ to its own partition.

Last edited by colorpurple21859; 11-28-2019 at 08:35 AM.
 
Old 11-28-2019, 08:44 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by colorpurple21859 View Post
not sure what c is
c is a marker for the total capacity. It won't be used directly except for operations which affect/ wipe the whole disk. So trimming e, /home/, is probably the best option. Shrinking will mean backing up that partition and then erasing it. Depending on the geometry you might be able to grow /usr/ or add /usr/local/ but if you have the possiblity, I'd reinstall and make a separate /usr/local/ in the process.
 
1 members found this post helpful.
Old 11-28-2019, 11:19 AM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
What purpose is partition f serving? It's also formatted to 4.2BSD, but nothing is mounted there? It seems to around half the disk...
 
Old 11-29-2019, 12:47 AM   #7
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
i made some kind of mistake and got "loading err m" warning when booting.
i gave up and now have just xubuntu bridge, ill try later to dual boot bsd and buntu.

thanks to all that replied.
 
Old 12-03-2019, 10:17 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by ////// View Post
"loading err m" warning when booting.
https://man.openbsd.org/biosboot.8

Quote:
ERR M
Bad magic. The ELF “magic number” \7fELF in boot(8)'s header was not found. This indicates that the first block of boot(8) was not read correctly. This could be due to disk corruption, failing to run installboot(8), giving an invalid boot(8) program as the boot argument to installboot(8), or incorrect geometry translation.
Moving / resizing partitions is a possible cause. Re-running installboot(8) usually solves this kind of thing.
 
1 members found this post helpful.
Old 12-03-2019, 11:23 AM   #9
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
It's a problem caused by a change in the physical location of the file /boot, the second stage bootloader. Caused either by moving/deleting the file or by moving/resizing the root partition resulting in a changed location. The error message is issued by the first stage bootloader, stating that it did not find the second stage where expected.

As noted, installboot(8) will fix the problem. The installboot program is available to the admin while using the RAMDISK kernel, so booting installation media and requesting the (S)hell provides access to the program. The 2 stages -- biosboot and boot, respectively -- are already installed in /usr/mdec, or may be manually extracted from the baseXY fileset. I find mounting /usr easier.

Here's an example of the steps I take from the RAMDISK shell when I make this error. Every time I make it. In this example, the disk I damaged is "sd0" and I discover /usr is partition "e" when I read the fstab(5) output:
Code:
# mount /dev/sd0a /mnt
# cat /mnt/etc/fstab
.
.
.
# mount /dev/sd0e /mnt/usr
# cd /mnt/usr/mdec
# installboot -v -r /mnt sd0 biosboot boot
# reboot

Last edited by jggimi; 12-03-2019 at 11:24 AM.
 
2 members found this post helpful.
Old 12-04-2019, 09:26 AM   #10
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
thanks for the info.
that BSD box wasnt important, but thanks to you two.
 
Old 12-12-2019, 12:27 PM   #11
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I will most of the time select [a] to auto-generate partition sizes when I install OpenBSD. On occasion I will select [c] and customize the partition sizes and manually enter the partition names and the size of each partition.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 04:00 AM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world. Mr_Shameless *BSD 4 05-16-2008 08:43 AM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 1 04-07-2005 08:46 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration