Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
10 crawler(s) on-line.
 85 guest(s) on-line.
 1 member(s) on-line.


 vox

You are an anonymous user.
Register Now!
 vox:  4 secs ago
 matthey:  9 mins ago
 AMIGASYSTEM:  14 mins ago
 pixie:  27 mins ago
 billt:  28 mins ago
 rzookol:  1 hr 19 mins ago
 Hammer:  1 hr 20 mins ago
 kolla:  1 hr 28 mins ago
 retrofaza:  1 hr 28 mins ago
 jPV:  1 hr 40 mins ago

/  Forum Index
   /  Amiga PPC Linux
      /  SLB puzzle solved
Register To Post

Goto page ( Previous Page 1 | 2 | 3 Next Page )
PosterThread
olegil 
Re: SLB puzzle
Posted on 28-Mar-2012 10:17:06
#21 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

@Thematic

/boot 20GiB? Surely this is not correct?

/boot is just kernel and boot menu. / is the main filesystem which sounds correct at 20GiB.

_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
Thematic 
Re: SLB puzzle
Posted on 28-Mar-2012 16:30:22
#22 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@olegil

/ is (in excess of) 20 GiB but it includes /boot.

Last edited by Thematic on 28-Mar-2012 at 04:30 PM.

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
olegil 
Re: SLB puzzle
Posted on 29-Mar-2012 13:39:05
#23 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

@Thematic

Why, though? Why not just make a 20-40MB partition, call it /boot and be done with it? Surely you would have saved yourself an AWFUL lot of time by not having to redo the root filesystem a gazillion times by now?

_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 4-Apr-2012 17:30:41
#24 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@Thematic

Quote:
In message #3 I mention the SLB already recognized the partition on the new drive (offering the appropriate SLB menu entry), which makes sense after all


That's interesting. It's also not a good sign if you had to format under AmigaOS to get it to work. We only have an Ext2 handler and UBoot is made to read Ext2 so it's quite possible that SLB will only work with a proper Ext2 partition.

I need to boot into Linux and check my actual volume types.

Quote:
And to add something new to thread, if some critical component was failing, how would I make a rather active two day uptime and yet not get the SLB to occasionally work?


Well in that case it looks like everytihng is in place. One thing I missed but it looks like you have done is to make sure the volume is a bootable.

Quote:
I might see the correct behaviour again if I reformatted the partition and copied the /boot files over again, but I'm very particular about not copying 20 GiB of files again and reach this very same point.


Good point. Just duplicating the /boot dir would be good enough to test. You could disable the main partition and just setup a new one to test.

Quote:
By DOS type you mean the string on the Rigid Disk Block to identify the partition type? It should be the same as ever, 0x4C4E5800 or 'LNX\00'.


Yes. And yes that is the DOS Type I have set. And BTW I also have 1024 as my blocksize set in MTB as well.

Quote:
Well, a few years ago, the ext3 partition formatted then was certainly created under a different kernel version than the one now. I wonder if the output on the partition would be similar. I know volume name and a few other bits tend to differ anyway.


Should be fine. I've updated my kernels and was able to boot from my volumes. What matters I think is the programs the makes the Ext3 filesystem on disk.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 4-Apr-2012 17:33:41
#25 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@olegil

It's standard to have a boot dir for the kernel and boot menu. It's a lot easier to just create a file for booting Linux.

A seperate partition would slightly complicate things and isn't needed.

 Status: Offline
Profile     Report this post  
olegil 
Re: SLB puzzle
Posted on 6-Apr-2012 9:56:44
#26 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

@Hypex

How does an extra partition complicate things? It's fairly common to need one, for instance if you're using a raid or filesystem not supported by your bootloader.

_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 6-Apr-2012 17:27:08
#27 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@olegil

Because it's another partition you then have to create. And it goes back to the early A1 Linux days. It's also needed for plaforms like the Mac where they forgot what machine it's running on and force you to create this extra boot partiion to install some bootloader which then makes the machine looks crap and old fashioned at bootup not to mention hard to see with a tiny font!

Okay I've gone off the point. The SLB can load it off anywhere. But on the A1 it's not needed for one Linux volume. Optional you could say.

 Status: Offline
Profile     Report this post  
olegil 
Re: SLB puzzle
Posted on 6-Apr-2012 21:08:37
#28 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

@Hypex

When a user complains that he has to copy 20GB to change the filesystem of /boot then it's fairly obvious to me that putting /boot on a separate partition to begin with would be a nice thing to save a lot of hassle down the road.

And while you're at it, you should also put /home, /usr and /var on separate partitions, to minimize damage in case of filesystem problems

_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 9-Apr-2012 17:45:43
#29 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@olegil

I agree 20GB is rather large. But it is up to the individual what size is the partition. Personally I use 5GB. Which is just enough for OS and some data storage.

But in any case if a new partition can be made then /boot can be moved to it.

I do like the thought of keeping home seperate to the OS but can this help when needing to reinstall the OS for an update? And what to do with different distros? Can settings and data be shared with one /home volume?

 Status: Offline
Profile     Report this post  
Thematic 
Re: SLB puzzle
Posted on 21-Jun-2012 21:03:31
#30 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

My ext2 partition went ro recently, so while I had to reconnect the previous HDD to repair it I finally tried to resize the root partition on the SDD. gparted failed, however. It did no change to the RDB, which was of course better than botching it completely.

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 14-Nov-2012 5:20:25
#31 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@Thematic

Can you mount the partition in OS4? You mentioned EXT2Filesystem early in the thread. If so you could load in and check the a1boot.conf file.

BTW make sure the path of the file is at:
/boot/a1boot.conf

BTW what's your boot entry look like?

 Status: Offline
Profile     Report this post  
Thematic 
Re: SLB puzzle
Posted on 14-Nov-2012 6:24:06
#32 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@Hypex

I can mount it both in Linux and OS4. I have made an entry to the a1boot.conf on the HDD that will use the partition on the SSD as root filesystem. The ignored a1boot.conf looks like this:
debian /boot/boot.img.amigaone-2.6.31-1-powerpc console=tty0 ramdisk_size=16384 root=/dev/sda2 video=radeon:1024x768-8@70 l2cr=0x80000000

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 14-Nov-2012 12:31:23
#33 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@Thematic

The entry looks fine. Setting ramdisk_size is unusual.

Is your Linux volume set as bootable in both the RDB and in Linux?

That is from MTB and the Linux partitioner.

Last edited by Hypex on 21-Nov-2012 at 12:50 PM.

 Status: Offline
Profile     Report this post  
Thematic 
Re: SLB puzzle
Posted on 14-Nov-2012 15:19:29
#34 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@Hypex

It's bootable in MTB. So is there a different part of RDB that is used in Linux? I can't remember now. But were I to venture a guess, I'd say I would have noticed that discrepancy when I tried to shrink it with gparted. I'll check it when I need fsck again, at the latest.

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 14-Nov-2012 23:48:34
#35 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@Thematic

Not entirely sure but Linux may store it's own data in the partition. I am just used to making sure it is bootable in AmigaOS and then again when I format the partition in Linux. But at that point I am usually reinstalling afresh.

Apart from that does SLB give any indication it read the file? You know when there is an error but apart from that it just seems to continue booting if it doesn't find an a1boot where it likes.

 Status: Offline
Profile     Report this post  
Thematic 
Re: SLB puzzle
Posted on 15-Nov-2012 2:12:29
#36 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@Hypex

Nothing - I'd like to have some form of debug output.

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Hypex 
Re: SLB puzzle
Posted on 18-Nov-2012 16:47:09
#37 ]
Elite Member
Joined: 6-May-2007
Posts: 11228
From: Greensborough, Australia

@Thematic

I wonder if that Andrea character can be contacted to see what SLB actually does to find the menu. And if he has a debug version.

Apart from that perhaps a list if your UBoot vars would help. Easiest to grab from a shell with NVGetVar and then a C&P.

 Status: Offline
Profile     Report this post  
Thematic 
Re: SLB puzzle
Posted on 18-Nov-2012 21:46:45
#38 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@Hypex

Here:

Quote:

bootcmd=menu; run menuboot_cmd
bootdelay=0
preboot=
stdout=vga
stdin=ps2kbd
ide_doreset=on
ide_cd_timeout=30
menucmd=menu
bootmethod=boota
ethact=3Com 3c920c#0
ethaddr=00:09:D2:11:01:A0
ipaddr=
serverip=
vga_fg_color=2
a1ide_timeout=10
sii3112ide_timeout=30
baudrate=57600
bootdevice=0:1
boot_command=diskboot
sii3112ide_conf=12
a1ide_xfer=0000
a1ide_maxbus=0
a1ide_conf=0000
video_num=1
menuboot_cmd=boota; boota; boota
serial1_address=3f8
serial2_address=2f8
parallel_mode=0
parallel_address=378
usb0_enable=on
usb1_enable=off
usb_use_header=0
ide_maxbus=0
ide_swap=0
boot1=ssii
boot2=ssiicdrom
boot3=
boot_method=boota
os4_commandline=debuglevel=0
bootargs=root=/dev/ram rw ramdisk=16384 l2cr=0x80000000
pci_irqa=9
pci_irqa_select=level
pci_irqb=10
pci_irqb_select=level
pci_irqc=11
pci_irqc_select=level
pci_irqd=7
pci_irqd_select=level
agp_enable=on
agp_sideband=off
agp_speed=2x
boota_scan_all_HDD=on
menuboot_delay=3
boota_timeout=4
boot_config=Default
rescan_bootunits=on
boota_no_video_menu=off
sii3112ide_xfer=G0
sii3112ide_irq=11

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
scabit 
Re: SLB puzzle
Posted on 19-Nov-2012 1:50:20
#39 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@Thematic

Two things I see.

setenv autostart yes

I don't see an autostart uboot param

Second, your bootargs are pointing to /ram, not to /sda (or whatever your drive partition is.)

Not sure if that will help...but its worth a try!

Scott

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
Thematic 
Re: SLB puzzle
Posted on 19-Nov-2012 1:57:52
#40 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@scabit

bootargs aren't used for SLB booting AFAIK, I've left it there for those situations where I boot from a CD.

Autostart I'm not sure about so will try it.
Though as soon as I enable the primary IDE interface of the motherboard from UBoot menu (along with boot source), it finds and boots a Linux system (or as it were, only the kernel) from there without any other changes.

Last edited by Thematic on 19-Nov-2012 at 02:03 AM.
Last edited by Thematic on 19-Nov-2012 at 02:02 AM.
Last edited by Thematic on 19-Nov-2012 at 02:00 AM.

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle