SliTaz SliTaz Forum

You are not logged in.

#1 2023-03-24 08:05:24

oui
Member
Registered: 2012-09-05
Posts: 298

attempt to access block outside partition at usb port USB3

Hi

I did install Slitaz through the installer as a web ISO using the option cooking on my 65 GB stick.I did meet 2 problems.

Problem 1, a VERY OLD SLITAZ-Problem for users of DELL laptop and PC, the laptop starts automatic in graphic mode with a wrong driver and you must restart using the the interruptor (CTRL ALT DEL is not enough!)

Problem 2,

Slitaz is installed,

Slitaz did installed (as wished) his grub legacy on the stick

but does not find linux.

I have 2 USB connectors on the PC

1 USB3

1 usb2

at installation time, Slitaz live was at usb2 at this time sdb, and the new target stick at usb3, at this time sdc

after reboot, I use only the usb3, probably sdb at boot time (I can't really check it as slitaz don't really start, only grub-legacy!)

what is the correct grub line for menu.lst ?

Offline

#2 2023-03-24 12:30:22

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: attempt to access block outside partition at usb port USB3

Hi,

I guess if you have a HD you should have [c]root=/dev/sdb1[/c] in the kernel line (assuming you use only one partition on the stick) or [c]root=/dev/sda1[/c] if your HD is SSD.

You can also use [c]ls[/c] in the Mini bash-like of grub to identify your disks.

Offline

#3 2023-03-24 20:43:26

oui
Member
Registered: 2012-09-05
Posts: 298

Re: attempt to access block outside partition at usb port USB3

Hi Ceel and thank you for the answer.

I did commit an error in my first msg: It is not grub-legacy but grub4dos in legacy look!

"ls" was not offered in the list of the permit bash commands.

But as did see that it is gub4dos, I did remember that Puppy Linux offers a "Grub4Dos bootloader config" and did try it. The menu made by it offers more (did not help to boot immediately!), especially this item:

title SliTaz GNU/Linux cooking (Kernel vmlinuz-3.2.53-slitaz)(sdb1/boot/grub/menu.lst)

  root (hd0,0)

  configfile /boot/grub/menu.lst

  commandline

and really, you come directly in bash under this item and get a more (very!) more important choice of bash commands, especially, as you did name it, "ls".

using "ls", I did have to admit, that ls ignore the USB port (and grub probably also)... more, "ls" give the same success using divers connections: always the partitions of the Hard Disk (but my Slitaz, als well as the grub4dos loader ARE both on USB on the stick but forgot the information at boot time else if the boot loader did start FROM USB)!

how to retransmit the information to the boot loader in a correct form as he don't recognize the ports?

has a stick an own MBR after the installation for grub4dos? with valid address?

(see https://dr3st.de/multiboot-usb-stick-bauen/ (I am sorry, it is on German)! Why do I not follow this page immediately and did order to the SliTaz installer to do the job? Because I did find an indication in the article bringing me great risk, exactly the precedent question: the author says, the usb is sda, you also say the usb is sda! on my PC (i own it 10 years) was USB never sda! More: I have 3 USB: the internal hard disk is at DELL PC and laptop an (internal) USB, the USB3 is present extra on a own port and a supplementary USB2 on a second USB connector.If the address is wrong, it can happen, that the commands made are made on the internal hard disk! It would be terrible... But it must be possible as I did made in last days an other stick, this one a 2 terra byte big disk, where I can start an actual Puppy Linux live (I dont will live! I will full installed!!!) from USB2 port of my laptop (or from the only one USB ports from my other computers). Also, it is possible! But USB2 is naturally terribly slow... no real satisfaction!)

- I hope you can understand "my English"! I did never learn English but French, my mother tongue, and German, my every day language! -

Offline

#4 2023-03-24 21:38:47

oui
Member
Registered: 2012-09-05
Posts: 298

Re: attempt to access block outside partition at usb port USB3

my purpose is to use all the old computers in my house with the same usb stick (or each an exact copy of them as big sticks are today really cheap), where all my actual files ressources of all my computers would be present.

I have

1 DELL i7 8GB 3/4 TB HD resolution

1 DELL i7 4GB ab. 200 GB poor resolution but integrated telephone modem

1 DELL i7 4GB 128 GB poor resolution but "transformer" lap screen, touch screen, do it can be connected closed with HDMI connector of TV (important to get easily French TV from Internet in Germany!)

1 emachine AMD64 ab. 2GB 200 GB poor resolution, from my dead father, with the family genealogy and only used for that

diverse old 32 bit laptop with Pentium or Celeron from DELL or IBM (for this reason I will install a 32 bit Linux! I see no reason and no need for me to use 64 systems because some manufacturers will force us to do that! My old PC have an place in the house and are used and welcome to be directly present there: in the garage, under the roof etc.

files are already partially the same on all. we a new large USB-micro-stick, costs now a few Euros, I would have exactly the same environment on all machines for the every day usages (and can start the old operating system if better for the application and if I need it!) and SliTaz would be the perfect full installations linux for that!

Offline

#5 2023-03-24 22:06:42

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: attempt to access block outside partition at usb port USB3

As you installed from web I did suppose Grub4dos has been installed.

"ls" was not offered in the list of the permit bash commands.

I don't agree with you. From the command line, hit [TAB] and you'll see all the available commands. I use only Grub4dos (from SliTaz package grub4dos-linux) on my old computers and I never meat problems with [c]ls[/c] or to access at USB devices... In the past I used to use USB sticks to boot SliTaz on my Work computer.

But you are right on another hand, [c]ls[/c] in Grub4dos doesn't work like [c]ls[/c] in Grub2, sorry. If my memory serves me good, [c]ls[/c] lists only the root partition ; if you want to access to another partition you have to use the [c]root[/c]command before; ie:

[c]root=(hd1,0)
ls[/c]
Running [c]ls[/c] after [c]root=(hd0,0)[/c] then after [c]root=(hd1,0)[/c] gives a different return. So you should be able to know how Grub4dos identifies the stick

By the way,

[*]did you set the [c]boot[/c] flag on your stick?

[*]add [c]rootdelay=10[/c] at the kernel line in [c]menu.lst[/c] if you didn't do it.

I don't understand the menu entry you posted. By default Grub4dos searches for [c]/boot/grub/menu.lst[/c]. The [c]configfile[/c]command allows to access to a submenu from another [c].lst[/c] file. Calling [c]menu.lst[/c] from [c]menu.lst[/c] is not something logical for me.

Yes [c]commandline[/c] send you directly under the Minimal bash-like.

You wrote "Slitaz did installed ... but does not find linux".

What do you mean exactly by "but does not find linux"? Is there an error message?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]