spblinux-user Mailing List for SPBLinux
Brought to you by:
spblinux
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(5) |
Oct
|
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <m.n...@ma...> - 2005-07-12 04:42:37
|
Hi, hChristian. Thank you for reply: -----Original Message----- From: spb...@li... To: spb...@li... Date: Mon, 11 Jul 2005 20:40:05 -0700 Subject: SPBLinux-user digest, Vol 1 #7 - 2 msgs > > Send SPBLinux-user mailing list submissions to > spb...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/spblinux-user > or, via email, send a message with subject or body 'help' to > spb...@li... > > You can reach the person managing the list at > spb...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SPBLinux-user digest..." > > > Today's Topics: > > 1. rc_init (=?koi8-r?Q?=ED=C9=C8=C1=C9=CC=20=EE=C1=D3=C5=C4=CB=C9=CE?=) > 2. AW: [SPBLinux-user] rc_init (Christian Ostheimer) > > --__--__-- > > Message: 1 > From: =?koi8-r?Q?=ED=C9=C8=C1=C9=CC=20=EE=C1=D3=C5=C4=CB=C9=CE?= <m.n...@ma...> > To: SPB...@li... > Date: Mon, 11 Jul 2005 13:46:08 +0400 > Reply-To: =?koi8-r?Q?=ED=C9=C8=C1=C9=CC=20=EE=C1=D3=C5=C4=CB=C9=CE?= <m.n...@ma...> > Subject: [SPBLinux-user] rc_init > > Hi, > > I try to spb2.1 from PXE diskless workstation > > In my pxelinux.cfg: > DEFAULT /kernel > APPEND ip=dhcp initrd=/ramdisk spbconf=cfgdev=ram0,addons:subdir=basics:x spbrootsize=64 bootd=tftp > > I'm create /tftproot/PXEClient/spblinux and copy files from archives spb2.1-usbboot2_b12-r1.zip > spb2.1-usbboot1_b12-r1.zip > > Okay, booting workstation: > ... > Loading start files with tftp ... > ... > > error: executable file /etc/rc_init not found; > > I can't see in linuxrc line like: > tar xjf /mnt/init6.bz2 > > Why? > > > > > > > --__--__-- > > Message: 2 > Reply-To: <os...@fr...> > From: "Christian Ostheimer" <os...@fr...> > To: <SPB...@li...> > Subject: AW: [SPBLinux-user] rc_init > Date: Mon, 11 Jul 2005 14:17:39 +0200 > > Hi Michail, > > try http://www.spblinux.de/spb2/b13pre4/other/netboot.bz2 (=tar.bz2 file) > as example for > configuration: when this addon is loaded, spblinux acts as netboot server. > > These lines are from netboot.bz2: > kernel kernel > append initrd=ramdisk bootd=tftp vga=791 spbrootsize=8 spbaddonsize=32 > spbconf=cfgdev0=tftp,addons:subdir=basics:x,net:config=d reboot=warm no-hlt > panic=30 > > this is a line of dhcpd.conf: > filename "/tftpboot/pxelinux.0"; > > and spblinux expects its files in tftpserver_root/PXEClient/spblinux > spbcfg = spblinux configuration file > > init6.gz = system files of spblinux > > tftp_files = list with addon files which should be loaded by tftp > (usually automatically created by /etc/cfg_netboot; one file per line, > given as e.g. basics/libs.bz2) > > addon files: > basic/*.bz2 > x/*.bz2 > ... > More information can be extracted from netboot.bz2 > > > I try to spb2.1 from PXE diskless workstation > > > > In my pxelinux.cfg: > > DEFAULT /kernel > > APPEND ip=dhcp initrd=/ramdisk > > spbconf=cfgdev=ram0,addons:subdir=basics:x spbrootsize=64 bootd=tftp > > > > I'm create /tftproot/PXEClient/spblinux and copy files from > > archives spb2.1-usbboot2_b12-r1.zip > > spb2.1-usbboot1_b12-r1.zip > > > > Okay, booting workstation: > > ... > > Loading start files with tftp ... > > ... > ^^^ > this is the important part: does the network interface get up > (is the module for your network card inside ramdisk; use changeramdisk > command to > add other modules from modules_all zip file) > > > error: executable file /etc/rc_init not found; > so kernel and ramdisk have been loaded by the bootloader, but linux fails to > set up the > the network interface or does not find the files on the tftp server > > Regards, hChristian > > > > I can't see in linuxrc line like: > > tar xjf /mnt/init6.bz2 > > > > Why? > init6.bz2 is hidden inside init6.gz > > > > > --__--__-- > > _______________________________________________ > SPBLinux-user mailing list > SPB...@li... > https://lists.sourceforge.net/lists/listinfo/spblinux-user > > > End of SPBLinux-user Digest > |
From: Christian O. <os...@fr...> - 2005-07-11 12:25:52
|
Hi Michail, try http://www.spblinux.de/spb2/b13pre4/other/netboot.bz2 (=tar.bz2 file) as example for configuration: when this addon is loaded, spblinux acts as netboot server. These lines are from netboot.bz2: kernel kernel append initrd=ramdisk bootd=tftp vga=791 spbrootsize=8 spbaddonsize=32 spbconf=cfgdev0=tftp,addons:subdir=basics:x,net:config=d reboot=warm no-hlt panic=30 this is a line of dhcpd.conf: filename "/tftpboot/pxelinux.0"; and spblinux expects its files in tftpserver_root/PXEClient/spblinux spbcfg = spblinux configuration file init6.gz = system files of spblinux tftp_files = list with addon files which should be loaded by tftp (usually automatically created by /etc/cfg_netboot; one file per line, given as e.g. basics/libs.bz2) addon files: basic/*.bz2 x/*.bz2 ... More information can be extracted from netboot.bz2 > I try to spb2.1 from PXE diskless workstation > > In my pxelinux.cfg: > DEFAULT /kernel > APPEND ip=dhcp initrd=/ramdisk > spbconf=cfgdev=ram0,addons:subdir=basics:x spbrootsize=64 bootd=tftp > > I'm create /tftproot/PXEClient/spblinux and copy files from > archives spb2.1-usbboot2_b12-r1.zip > spb2.1-usbboot1_b12-r1.zip > > Okay, booting workstation: > ... > Loading start files with tftp ... > ... ^^^ this is the important part: does the network interface get up (is the module for your network card inside ramdisk; use changeramdisk command to add other modules from modules_all zip file) > error: executable file /etc/rc_init not found; so kernel and ramdisk have been loaded by the bootloader, but linux fails to set up the the network interface or does not find the files on the tftp server Regards, hChristian > > I can't see in linuxrc line like: > tar xjf /mnt/init6.bz2 > > Why? init6.bz2 is hidden inside init6.gz |
From: <m.n...@ma...> - 2005-07-11 09:46:13
|
Hi, I try to spb2.1 from PXE diskless workstation In my pxelinux.cfg: DEFAULT /kernel APPEND ip=dhcp initrd=/ramdisk spbconf=cfgdev=ram0,addons:subdir=basics:x spbrootsize=64 bootd=tftp I'm create /tftproot/PXEClient/spblinux and copy files from archives spb2.1-usbboot2_b12-r1.zip spb2.1-usbboot1_b12-r1.zip Okay, booting workstation: ... Loading start files with tftp ... ... error: executable file /etc/rc_init not found; I can't see in linuxrc line like: tar xjf /mnt/init6.bz2 Why? |
From: Christian O. <os...@fr...> - 2005-01-02 16:57:21
|
"I cannot find the 'makebootable' command" To make it easier to install SPBLinux there is now an iso image of a bootable install cd: With: - makebootable script (extended version which allows to install to harddisk as well) - qtparted (to resize/create fat, ntfs and reiser partitions) - ntfsmount (giving rw access to ntfs partitions using captive ntfs driver) - boot helper for usb: boot ramdisk and kernel from cd and then boot from usb - boot manager to boot from different harddisk partitions With best wishes for the year 2005, Christian Ostheimer |
From: Christian O. <os...@fr...> - 2004-12-28 16:24:09
|
Hi all, this message is written from SPBLinux with Mozilla Thunderbird 1.0 (file spb2.1-usbboot6_b12.zip which is online now; depending on usbboot1,2,3) The timezone has to be set (see release notes in files section at sourceforge) autosave has to be on, to copy settings and messages from ram to usb flash memory on shutdown. Christian |
From: Christian O. <os...@fr...> - 2004-12-25 12:09:06
|
Announcement: SPBLinux 2.1 beta12 is now online (http://spblinux.sf.net) - XFCE 4.2rc2 desktop environment - kernel 2.6.9 - firefox 1.0 - improved makebootable script - all binaries compiled with gentoo (using SPBLinux and chroot) ... With greetings from the time between the years, Christian Ostheimer |
From: Christian O. <os...@fr...> - 2004-09-06 13:34:26
|
> mysteriously unmounted without any apparent information. well, there is one more important point I forgot in my previous post: the linux initrd boot concept: all the initialization of spblinux addons is done in initrd (ending with message: Freeing unused kernel memory...) Then /proc/sys/real-root-dev is mounted at / (in case of spblinux /dev/ram1 remains mounted) and /bin/init is started with process id 1 which reads /etc/inittab (in spblinux /etc/init_1st is the first script executed by init) Thus mounting drives could be done as well in /etc/init_1st and maybe in the case of reiserfs it has to be done here because reiserfs uses a (kernel) process to manage its journal which might get destroyed when switching to init Christian |
From: Christian O. <os...@fr...> - 2004-09-06 13:02:30
|
> I have a nicely running spblinux install, but I've hit a bit of a > snag. I have an addon with the following in the rc_addon.ini: > > mkdir /zroot > mount -t ext3 /dev/hda3 /zroot > mount -t ext2 /dev/hda1 /zroot/boot > > When the system boots, it clearly notes that it is mounting the > ext3 partition because I get a message stating the journalling > has been started, however by the end of the boot sequence the > zroot directory still exists but the partition has been > mysteriously unmounted without any apparent information. if you boot with kernel parameter initsqf=1 (or =ram) the whole filesystem below /usr gets compressed into one big squashfs (as far as I remember at the moment, that is why rc_addon.ini cannot directly mount drives; else anything mounted below /usr would be put into the squashfs) > > Can anyone recommend a way of getting drive mounts during boot to > "stick" or tell me why my mounting is being cancelled? there is a simple workaround, which is used by ssh.bz2 to start sshd: append your commands to /tmp/rc_init2 with echo 'your_command your_args ..' >>/tmp/rc_init2 (changegz your_path/init6.gz reveals the details: etc/rc_init; spblinux parameter debug=yes keeps /etc/rc_init and /tmp/*) Christian |
From: Matt S. <mcs...@sa...> - 2004-09-06 12:29:30
|
I have a nicely running spblinux install, but I've hit a bit of a snag. I have an addon with the following in the rc_addon.ini: mkdir /zroot mount -t ext3 /dev/hda3 /zroot mount -t ext2 /dev/hda1 /zroot/boot When the system boots, it clearly notes that it is mounting the ext3 partition because I get a message stating the journalling has been started, however by the end of the boot sequence the zroot directory still exists but the partition has been mysteriously unmounted without any apparent information. Can anyone recommend a way of getting drive mounts during boot to "stick" or tell me why my mounting is being cancelled? Thanks in advance, Matt. |
From: Christian O. <os...@fr...> - 2004-09-01 17:50:58
|
> Can anyone tell me what the default root password is? root must have got lost on the way from version 2.0 to 2.1 ... (changepw to change it; /etc/spb.conf has info how to set another root password at boot time) Ciao, Christian |
From: Matt S. <mcs...@sa...> - 2004-09-01 17:44:42
|
Can anyone tell me what the default root password is? Cheers, Matt. |
From: Sean A. <se...@ne...> - 2004-07-19 15:44:21
|
Hi, Thanks for the great work so far - SPBLinux is proving much easier to understand and customise than all the Knoppix-based alternatives. I've been trying to use SPBLinux as a base to setup a range of distribution installers on fresh machines from USB boot. To save time re-writing changes to a USB stick over and over, I'm using network booting. I notice that this feature was added in 2.1b7, but it doesn't work in the current b11 and I'm not sure how to use the development b12. I thought I'd describe what I've changed in b11 to re-enable network booting in the hope it will help it be re-introduced to future releases. All the changes are to the compressed initial RAM disk file "ramdisk". First I edit /linuxrc: --- /tmp/ramdisk-2.1_b11c/linuxrc 2004-07-19 13:21:52.703881552 +0200 +++ linuxrc 2004-07-14 12:29:07.000000000 +0200 @@ -60,6 +60,9 @@ if [ "$bootd" ]; then D=$bootd D2=$bootd2 + d1=$D + d2="" + d3="" echo -n "Using boot-parameter(s) bootd" [ "$bootd2" ] && echo -n " and bootd2" echo ": $D$D2" It seems the migration from D/D2 to d1/d2/d3 isn't yet complete. This then sources /etc/rc_boottftp later around line 168 when bootd=tftp is included as a kernel argument: [ -f /etc/rc_boot$d1 ] && . /etc/rc_boot$d1 Next I edit /etc/rc_boottftp to load some network drivers since it fails otherwise. The insmod command doesn't pull in some necessary module dependencies and also trying to load every network module without order loads some unnecessary modules preventing the correct one loading. --- etc/rc_boottftp 2004-07-19 13:21:52.882863103 +0200 +++ /mnt/tmp/etc/rc_boottftp 2004-07-14 12:46:47.000000000 +0200 @@ -1,19 +1,10 @@ # echo "Loading start files with tftp from $D2 ..." . /etc/functions_tftp -#from rc_spbnet: if [ -z "$eth0_is_up" ]; then - mod_dir="/lib/modules/`cat /proc/sys/kernel/osrelease`" - mod_subdir="kernel/drivers/net" - insmod mii >/dev/null 2>/dev/null - for m in $mod_dir/$mod_subdir/*; do - if [ -d $m ]; then - for mm in $m/*; do - insmod $mm - done - else - insmod $m - fi + for m in mii 8139too sis900 + do + modprobe $m done if [ "$ipaddr" ]; then Finally I include the necessary network module files from spbnet(2).bz2 in the ramdisk so they can be loaded to bring the remaining files over the network post-boot. Hope this helps! Cheers, Sean. -- Sean Atkinson <se...@ne...> Netproject |