Systems that don't apparently boot with the latest ShredOS v2021.08.2_23_x86-64_0.34 #133
Replies: 8 comments 2 replies
-
A quick fix to the above problem of the Packard Bell laptop with AMD graphics not booting ShredOS. I just added |
Beta Was this translation helpful? Give feedback.
-
Quoting from the arch linux wiki regarding the use of nomodeset
|
Beta Was this translation helpful? Give feedback.
-
And the actual fix was the inclusion of the AMD firmware. I also added some extra video firmware which included in total
So I would imagine that fixes quite a few AMD based systems that would not boot using DRM. |
Beta Was this translation helpful? Give feedback.
-
Running dmesg and looking at the section that was previously failing, we can now see that the Kabini microcode now loads without any errors. |
Beta Was this translation helpful? Give feedback.
-
And now we are using DRM, the command So basically ready for nwipe's forthcoming ATA secure erase feature. |
Beta Was this translation helpful? Give feedback.
-
Yes, i can add some of those features, HPA/DCO, ATA secure erase and PDF reports for each drive, but unlikely to have hot swap in a single instance of nwipe any time soon as due to the architecture of the code it would require a major rewrite. However, I think you can probably do hot swap with this workaround, the key to this is that you must always run nwipe with a drive as an option. i.e nwipe /dev/sda, nwipe /dev/sdb. If you type nwipe on it's own while other nwipe's are running the nwipe you just tried to start will hang due to a 'feature' of a library we are using. Here's eight nwipe's running at the same time, so you could wipe eight disks, as each nwipe completes and you exit it you can then swap the disc and start another wipe while all the others are still running. tmux isn't currently in ShredOS but I could install it in the next version if anybody is interested in running multiple nwipe's at the same time ? Eight nwipe's in tmux. |
Beta Was this translation helpful? Give feedback.
-
Thank you for adding the HPA/DCO, ATA secure erase and PDF reports for each drive. If any of the other feature requests are simple for you to implement,or perhaps wouldn't take too much time, then including them is a great way to raise interest and re-energise a great project like ShredOS. Again thank you for the suggestion of how to workaround a hot-swap. It is a shame that the hot-swap ability would require a major rewrite as it would be a super feature. I believe there will be many who would be interested in running multiple instances of nwipe at the same time. Thank you PartialVolume for all the work you put into ShredOS. |
Beta Was this translation helpful? Give feedback.
-
LOL that is great! I should have mentioned in my previous requests that Space Invaders is far more important than hot-swap but you must have read my mind :) |
Beta Was this translation helpful? Give feedback.
-
I've started this discussion to show a good way of identifying the possible cause of ShredOS not booting on a specific computer system. This level of detail is really useful to me and helps to solve problems much quicker, without this detail i'm just guessing.
So, I just came across a laptop that would not boot the latest v2021.08.2_23_x86-64_0.34. It is a Packard Bell, Easynote TE69KB. It boots early versions of ShredOS that don't have the DRM & GPU drivers installed. All versions prior to this use a simple frame buffer with no graphics drivers.
Here's a screenshot of what I saw when it tries to boot ShredOS v2021.08.2_23_x86-64_0.34.
![boot screen-1](https://user-images.githubusercontent.com/22084881/226117050-091fd480-c705-4cef-b48f-311ca2ceb96c.jpg)
Now, it looks like ShredOS never fully booted, but in fact, ShredOS did boot you just can't see what happened when it transferred over from a frame buffer to the DRM graphics driver.
So how do we find out whether it really did boot and what might cause the display not to work?
Take the USB stick that you booted from and plug it into another system. Don't boot from it, all you want to do is edit a couple of files on it to enable ShredOS's build in telnet server.
To enable the telnet server, edit /boot/grub/grub.cfg or/and /EFI/BOOT/grub.cfg and on the USB flash drive, add telnetd=enable to the kernel command line.
Example:
Umount the USB stick and return it to the non working system. Don't power cycle yet ..
Grab a ethernet cable and connect your problem system into your local area network that should have DHCP enabled. If you don't know what DHCP is, it's most likely already enabled.
Power cycle the system. You will see the screen as per the picture above.
Now from another computer on the same network, run the following command to find the IP address of the non working system:
Nmap has found a open telnet port on 192.168.0.231. So lets see if we can login:
We're in !. So ShredOS is running.
The first port of call is the dmesg (diagnostic message buffer) this is the kernel's message buffer. There is most likely a clue in here as to what went wrong. Type
dmesg
and the log will be displayed. If you can't scroll back to the beginning then usedmesg | more
. There is an advantage to just using dmesg without the more and that is the text is highlighted with different colors and the color that stands out is RED. So start by looking for any red text. If you want to save the dmesg text, typedmesg > dmesg.txt
to write the dmesg output to the file dmesg.txt. You can then mount the USB flash drive and copy the dmesg.txt file to the USB flash drive withcd /;mkdir shredos; mount /dev/sdx shredos; cp dmesg.txt /shredos/;umount shredos
. Replace /dev/sdx with the appropriate drive letter for the USB stick, /dev/sda or /dev/sdb etc. Use fdisk -l to list the drives if you're not sure.So back to the Packard Bell. I followed the above procedure and this is what I found in the dmesg message buffer.
Looks like the AMD Kabini (Radeon HD8330) failed to start up properly due to some firmware issue.
Beta Was this translation helpful? Give feedback.
All reactions