Posts: 69
Ninho
Joined: 28 Oct 2016
#1
Hi ! New guy here ! Here's my question :

Put AntiX 16 on a USB key (using"Rufus"), but it hangs hard while (Syslinux? Grub2 ?) is drawing the graphic screen, the blue Earth and 7 stars, and the message"press F1 to get help" ... then hangs and has to be hard reset ! I'm sure the medium is good (boots fine from an even older machine). This seems to be a conflict with the SiS onboard graphics.

To try and resolve the conflict, I wish I could either specify a VESA graphics mode for booting or even boot in plain BIOS text mode until the linux kernel takes over.

Can you please guide me in editing the relevant config files on the USB ?
Unfortunately I have no experience using Syslinux/Grub2

This machine has an older AMD Athlon-XP class CPU (no SSE2, no 64-bit stuff) but I'm sure it's not an issue per se (and actually AntiX does boot and run the desktop and apps as expected, on this CPU in a VMware virtual machine, the hang is only when booting on"the bare metal" - so I'm reasonably affirmative the problem is with the integrated video and/or video BIOS. unfortunately I don't have a spare PCI or AGP video adapter that I could fit in here that might solve the issue magically... or not...)
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
Ninho wrote:To try and resolve the conflict, I wish I could either specify a VESA graphics mode for booting or even boot in plain BIOS text mode until the linux kernel takes over.
Mount the live-usb. Rename the file /boot/syslinux/gfx-cpio to /boot/syslinux/gfx-cpio.xxx.

When you boot the live-usb, follow the instructions on the screen.

Edit: this recipe gives you a simple text menu showing you the available boot options.
Posts: 69
Ninho
Joined: 28 Oct 2016
#3
Hello BitJam !
BitJam wrote: Mount the live-usb. Rename the file /boot/syslinux/gfx-cpio to /boot/syslinux/gfx-cpio.xxx.
When you boot the live-usb, follow the instructions on the screen.
This recipe gives you a simple text menu showing you the available boot options.
Excellent ! I'll do that for a try! Meanwhile, I've burnt the ISO to a CD - something I haven't done for eons - and, lo and behold, it boots and works fine !

This confirms that the hang was caused by Syslinux 6 (at least as configured by Rufus) since it is the part that is only on the USB, not the CD.

I'm going to install AntiX to a HD partition as a modern replacement for very old Linuces I had, which are no longer supported nor updatable, at least not easily, repositories long gone... If I like it and can find/ maintain the software long term (on the old hardware), I might abandon Winbeast for real, this time.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#4
Ninho wrote:This confirms that the hang was caused by Syslinux 6 (at least as configured by Rufus) since it is the part that is only on the USB, not the CD.
I'm delighted you got it to work!

We use the syslinux bootloader to boot live-cds as well as live-usbs. It's called isolinux for live-cds but it is the same software from the same source. Other than a few minor tweaks that don't affect the booting we just rename a few files to create the /boot/syslinux/ directory from the /boot/isolinux directory. IMO a working live-cd exonerates the syslinux and gfxboot software.

The important thing is you were able to boot.
Posts: 69
Ninho
Joined: 28 Oct 2016
#5
BitJam wrote:
The important thing is you were able to boot.
Sure ! Still curious... The live-CD is perfectly OK as was noted yesterday.

The live-USB OTOH : after deleting gfx-cpio per your advice, now boots but, so-so. Yes, I'm running from it at the moment, typing this in Dillo :=)
By so-so, I mean I had to make detours to boot the stick (use grub4dos and/or plop), for it would _not_ start directly from my BIOS's built-in boot-from-USB menu (then Syslinux hangs, after printing"Syslinux 1.03" on screen top). In addition to going thru grub or plop , I had to select"safe" from the Syslinux menu in order to boot succesfully,

Again it's not important, and I'm ready to leave the matter as is, I am just reporting my observations in case it may serve. Boot media made using the latest"Rufus" seem to be very picky. Do you think it would be useful and approrpiate to ping Pete B. (the devoelpper of Rufus) about the subject ?
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#6
Sure, ask Pete B. if you want, maybe he's had similar experiences. I designed our live system so it probably comes down to me. I don't chase down strange errors like this on old hardware like I used to because the answer is always that it is a wacky hardware problem. You could try looking for clues in the output of the"dmesg" command but since the problem starts in the bootloader it is almost certainly hardware related. Booting from usb was not well supported on a lot of older hardware. Perhaps the best scenario is if you find some BIOS option that makes the problems go away. There are no boot options that have any affect on the bootloader. It is possible that you would have better luck with a different usb stick but I don't think it is real likely.

If you are frustrated with how slow the live-cd is and you have a spare gig or so on a partition on your hard drive then I suggest you try doing a frugal install via the"F5 Persist" menu. When you select frugal again on your next boot then most of the boot will be from the hard drive and should be much faster. Only the kernel and the initrd (and bootloader, of course) will be used from the live-cd.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#7
Sure ! Still curious... The live-CD is perfectly OK
There's"extlinux" and"isolinux" packaged within syslinux.
When you boot from CD, isolinux is invoked.
When you boot from live-USB device, extlinux is invoked.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.syslinux.org/wiki/index.php?title=EXTLINUX"
linktext was:"http://www.syslinux.org/wiki/index.php?title=EXTLINUX"
====================================

The extlinux version bundled inside within rufus
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://rufus.akeo.ie/"
linktext was:"http://rufus.akeo.ie/"
====================================
is older and is incompatible with the newer version used by antiX.
Same (newer) extlinux is used by most distros, and rufus-created liveUSB will be incompatible with any of those.

Thing is, in my usage, rufus checks (online), realizes your local syslinux lib files are outdated, and ask permission to d/l the newer syslinux lib files.
Did you not have an internet connection at the time you ran rufus? If not, or if you disallowed the file download, that explains what led to your quandry.
If you allow the download, rufus will indeed create a liveUSB compatible with antiX16 (and recently-released isos of many other distros).
Posts: 69
Ninho
Joined: 28 Oct 2016
#8
skidoo wrote: The extlinux version bundled inside within rufus
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://rufus.akeo.ie/"
linktext was:"http://rufus.akeo.ie/"
====================================
is older and is incompatible with the newer version used by antiX.[....]
Thing is, in my usage, rufus checks (online), realizes your local syslinux lib files are outdated, and ask permission to d/l the newer syslinux lib files [...]
If you allow the download, rufus will indeed create a liveUSB compatible with antiX16 (and recently-released isos of many other distros).
I gave it permission, and it downloaded and used the newer syslinux indeed. This yielded the problematic stick in question :=) There are definitely more delicate details in the way !

If I really really wanted to spend more time, there would be a couple things I might think of trying like : redoing the stick using the"alternate" style of burning"hybrid" ISOs which the latest rufuses offer, also, try unetbootin (spell?)...

I'd rather mark this problem as"solved" for all practical purposes. Going to install AntiX to hard disk now, anyway...

Thank you all for your friendly yet very professional help ! I'm sure to have to come back with more newbie's questions in the near future...;=)
Posts: 69
Ninho
Joined: 28 Oct 2016
#9
Just done installing AntiX to HD successfully. Had to make partitions from another OS and tool though, for some reason GParted on yhe AntiX CD would not chain extended partitions properly on this multi-bootingdisk with a dozen preexisting parts. So I had to make a main (ext3) and swap patition using another tool. All is well now as you can see, postion from the installed AntiX system !

Just not sure the installer has"taken" the swap partition. How do I check if it's using it, and if not, how do I install a swap, please ?
_____________________________________________________________________________________________
System: Host: antix Kernel: 4.4.10-antix.1-486-smp i686 (32 bit gcc: 4.9.3) Desktop: IceWM 1.3.8
Distro: antiX-16_386-full Berta Cáceres 26 June 2016
Machine: System: American Megatrends product: K7S41 v: 1.0
Mobo: N/A model: K7S41 v: 1.0 Bios: American Megatrends v: P2.80 date: 10/18/2006
CPU: Single core AMD Sempron 2400+ (-UP-) cache: 256 KB
flags: (pae sse) bmips: 3359 speed: 1679 MHz (max)
Graphics: Card: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
bus-ID: 01:00.0
Display Server: X.Org 1.16.4 driver: N/A Resolution: 1280x1024@60.00hz
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
GLX Version: 3.0 Mesa 10.3.2 Direct Rendering: Yes
Audio: Card Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller
driver: snd_intel8x0 ports: dc00 d800 bus-ID: 00:02.7
Sound: Advanced Linux Sound Architecture v: k4.4.10-antix.1-486-smp
Network: Card: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
driver: sis900 port: d400 bus-ID: 00:04.0
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 162.0GB (1.6% used) ID-1: /dev/sda model: MAXTOR_STM380215 size: 80.0GB
ID-2: /dev/sdb model: Maxtor_6L080L0 size: 82.0GB
Partition: ID-1: / size: 9.1G used: 2.5G (29%) fs: ext3 dev: /dev/sda6
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 124 Uptime: 28 min Memory: 123.2/971.5MB Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
Client: Shell wrapper inxi: 2.3.0
____________________________________________________________________________________________
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#10
How do I check if it's using it
To check swap status: at a terminal prompt, type swapon -s
Posts: 69
Ninho
Joined: 28 Oct 2016
#11
skidoo wrote:To check swap status: at a terminal prompt, type swapon -s
Thank you, Skidoo. turns outl the installer failed to set a swap up for some mysterious reason : I've put the question as a new thread.

--
Ninho