LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-25-2021, 08:00 AM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
How to know if an old laptop support 64bits os or not ? without os installed and dd iso not not bootable


I have got an old EEE 900 pc.. I wanted to install a really light weight os to try out.
But i can't find out from internet if it is 32bit or 64bits supported .. i suppose it is 32bits.. but not sure.
Since most Linux os has dropped 32bits support.. Hence my choice is limited.
The laptop was previously installed android os on it..

Since i don't have windows installed on it, i have no idea how to check what it supports..

I just manage to find out it uses Processor 900MHz Intel Celeron M

Did a googling:
Intel website said the processor is actually named:
Intel® Celeron® M Processor ULV 353 (512K Cache, 900 MHz, 400 MHz FSB)

Memory Specifications: Physical Address Extensions 32-bit
Instruction Set 32-bit

If the processor model is correct, i am making a guess:
since memory is 32 bits and instruction set is 32 bits.. that means it only support 32 bits os..
Correct me if i am wrong.

I have installed "slax-32bit-9.11.0.iso" (the only one that support 32bits) onto usbstick using:
Code:
$ sudo dd bs=4M if=~/Downloads/slax-32bit-9.11.0.iso of=/dev/sde conv=fdatasync status=progress

268435456 bytes (268 MB, 256 MiB) copied, 5 s, 53.0 MB/s
67+1 records in
67+1 records out
283435008 bytes (283 MB, 270 MiB) copied, 69.9707 s, 4.1 MB/s
But when power up the laptop with the usb, it just does not boot into it.
When i tried with my ventoy usb, it is able to boot into ventoy menu.

What could be wrong here ? the iso is not supported ?
the DD command burnt wrong ?
or i should format the usbstick before dd ?

Thx
 
Old 12-25-2021, 08:47 AM   #2
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 300

Rep: Reputation: Disabled
Hello! I am also an EEE PC enthusiast. Most were 32-bit only. In fact, I think ALL of them were released as 32-bit machines, but some of the last models (I have a 1025-C) had Atom processors that supported 64-bit operations (N2600 and N2800, the two trailing zeros indicated 64-bit capability I believe). I think those were the exception, and the vast majority of EEE PC's were indeed truly 32-bit only. From the output you posted, yours is definitely 32-bit only. Those memory specifications are the dead giveaway, you are correct on that one.

Your usb writing commands also seem fine to me. Are you sure you need the conv=fdatasync part? I never use that myself, although I run a sync command after the dd is finished.

Have you tried any other ISO's? A good known working one that is easy to download is the Slackware mini install iso. You don't have to actually install anything with it, but if you can just get it to boot that would be a good indicator at least. I use this one a lot on my 32-bit machines and it works every time, no special tricks needed.

Anyway, my best hunch is to try a few different ISO's and see if any of them work with that same USB stick. Best of luck.

Oh, one last idea... are you selecting the USB drive from the boot menu when you power up the machine? I assume you are, but I would be foolish not to ask.
 
2 members found this post helpful.
Old 12-25-2021, 09:44 AM   #3
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,784

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
That slax-32bit-9.11.0.iso is not a hybrid ISO, and simply copying it to a USB stick with "dd" will not yield a bootable device.
 
1 members found this post helpful.
Old 12-25-2021, 09:50 AM   #4
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shelldweller View Post
Hello! I am also an EEE PC enthusiast.
Hii!!

Great to know someone like EEE PC as well.. lol.. I bought this laptop in usa over 20 years i believe (if my memory does not fail me). it still running like a champ! only battery is dead.

Since you said it is 32 bits, i believe it is also.
Ya, i did select to boot up from usb, that's why it is able to run ventoy usb.. but not the slack that i dd..
When i read back my previous record, i believe the 32bit slax iso is a NON-HYBRID iso image.. hence dd when dd direct burn it onto usb stick, it does not run.
According to the GURUs here , Non hybrid iso are like CDROM format, it is not able to be burn directly onto usbstick. because usb stick does not run cdrom format.

They also said CDROM iso first sector is partitiontable,
While standard usbstick and hdd first sector is bootloader.. hence the difference.

I am trying to learn how to mount the non hybrid iso onto loop and then somehow make it into a bootable iso.. still reading.
If anybody know, i do appreciate some help.. save me some time crawling in googles to gather pieces of info together.

Good day to you. Your post cheer my evening, we both eee PC fan.. lol
Last time i used the eee pc on train, an old lady said to her partner : "i can't believe nowaday pc becomes so small !" .. i was like ha ha ha... (laughing in my heart)..

I will try your recommended iso as well. Thx
 
Old 12-25-2021, 10:08 AM   #5
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shelldweller View Post
I run a sync command after the dd is finished.
May i ask what is sync command does ? I don't understand the definition:
Synchronize cached writes to persistent storage
How you run the sync command after dd ?

Thx
 
Old 12-25-2021, 10:09 AM   #6
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
That slax-32bit-9.11.0.iso is not a hybrid ISO, and simply copying it to a USB stick with "dd" will not yield a bootable device.
Can you tell me how you tell that it is not hybrid iso ?
Thx
 
Old 12-25-2021, 10:12 AM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,784

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Quote:
Originally Posted by andrewysk View Post
I am trying to learn how to mount the non hybrid iso onto loop and then somehow make it into a bootable iso.. still reading.
If anybody know, i do appreciate some help.. save me some time crawling in googles to gather pieces of info together.
There is a tool called "isohybrid" that will do the conversion. Not knowing what OS you have running makes it hard to be more specific.
 
Old 12-25-2021, 10:19 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,149

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by andrewysk View Post
May i ask what is sync command does? How you run the sync command after dd?
When I make a usb installer, I use the command
Code:
dd if=/path_to_file.iso of=/dev/sdx status= progress && sync
where sdx is the appropriate designation of the usb. The status option gives me an indication of how the copying is going and the sync command, run after dd has finished, ensures that the buffers really are flushed and everything is on the usb.
 
Old 12-25-2021, 10:56 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,681
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by andrewysk View Post
May i ask what is sync command does ? I don't understand the definition:
Synchronize cached writes to persistent storage
Linux does not automatically write stuff to disk. The kernel stores (caches) the output of programs in its buffers, then writes them to disk (aka "persistent storage") when there is a lull in the action. The sync command is a way of forcing the kernel to write out its buffers to disk on demand. The umount command also forces this action before unmounting the device.
 
Old 12-25-2021, 11:32 AM   #10
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Linux does not automatically write stuff to disk. The kernel stores (caches) the output of programs in its buffers, then writes them to disk (aka "persistent storage") when there is a lull in the action. The sync command is a way of forcing the kernel to write out its buffers to disk on demand. The umount command also forces this action before unmounting the device.
Q1.
Does dd read data from iso image and just keep in buffer (ram) without writting into usbstick ? hence we need to force it to do so ?
Isn't DD utility is used to hard copy data bit by bit from iso file into usbstick when we run the
Code:
$ sudo dd bs=4M if=/path/to/file.iso of=/dev/sdx status=progress
Why then the need to run sync command after dd finish "burn" iso into usb stick ?

Q2.
What happen if i just run
Code:
$ sudo dd bs=4M if=/path/to/file.iso of=/dev/sdx status=progress
without running $sync command after dd finished copying , will some part of data (read from iso file) just left laying around in buffer without writting into usb stick ?
 
Old 12-25-2021, 11:42 AM   #11
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
When I make a usb installer, I use the command
Code:
dd if=/path_to_file.iso of=/dev/sdx status= progress && sync
Why not just use this dd's option to flush ?
Code:
dd if=/path/to/file.iso of=/dev/sdx status=progress oflag=sync
 
Old 12-25-2021, 11:48 AM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,681
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by andrewysk View Post
Q1.
Does dd read data from iso image and just keep in buffer (ram) without writting into usbstick ? hence we need to force it to do so ?
Isn't DD utility is used to hard copy data bit by bit from iso file into usbstick when we run the
Code:
$ sudo dd bs=4M if=/path/to/file.iso of=/dev/sdx status=progress
Why then the need to run sync command after dd finish "burn" iso into usb stick ?
Neither dd nor any other userspace command can write directly to hardware. It's always the kernel which does that. As far as dd "knows", it works just as you have described. But actually its inputs come from the kernel, not directly from a file, and its outputs go back to the kernel again.
Quote:
Q2.
What happen if i just run
Code:
$ sudo dd bs=4M if=/path/to/file.iso of=/dev/sdx status=progress
without running $sync command after dd finished copying , will some part of data (read from iso file) just left laying around in buffer without writting into usb stick ?
Exactly! If you don't run either sync or umount (which runs the sync system call for you), your usb stick won't contain a true image of what you think you have copied onto it. Unless, that is, some time has elapsed and the data has been written out in the normal course of events. So just pulling out a usb drive is a risky business. You should always unmount it properly first.

Last edited by hazel; 12-25-2021 at 11:49 AM.
 
1 members found this post helpful.
Old 12-25-2021, 12:13 PM   #13
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Question

Thanks Hazel, your reply is very enlightening..

Quote:
Originally Posted by hazel View Post
Neither dd nor any other userspace command can write directly to hardware. It's always the kernel which does that.
I see.

Quote:
As far as dd "knows", ..... But actually its inputs come from the kernel, not directly from a file, and its outputs go back to the kernel again.
You meant the data (of the iso image file) is actually read by kernel (because you said user space command can't access directly to hardware) under request of dd and store it in buffer , then "dd" software tell kernel to push the data from the buffer into the usbstick (persistent storage).
Is that it ? dd does nothing but instructing kernel to do this and that ..


Quote:
If you don't run either sync or umount (which runs the sync system call for you), your usb stick won't contain a true image of what you think you have copied onto it. Unless, that is, some time has elapsed and the data has been written out in the normal course of events.
Oh i see; if i don't do a sync after dd, i might got only a portion of the data that i suppose to get..

However i am wonder why dd program itself does not tell kernel to sync (push all the relevant buffered data to the usb stick) after the dd process comes to the end ? did the dd programmer forgotten to add the last step of work into the code ?

Quote:
So just pulling out a usb drive is a risky business. You should always unmount it properly first.
so, next time i can just execute a "sync" command before unplug usb data storage ? How does the sync know which part of buffer to be push into persistent storage ? i don't think it will push all temperary buffer into persistent storage.. because there is no
Code:
$ sync /dev/sdb1
option.

Last edited by andrewysk; 12-25-2021 at 12:15 PM.
 
Old 12-25-2021, 12:32 PM   #14
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,681
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by andrewysk View Post
You meant the data (of the iso image file) is actually read by kernel (because you said user space command can't access directly to hardware) under request of dd and store it in buffer , then "dd" software tell kernel to push the data from the buffer into the usbstick (persistent storage). Is that it ? dd does nothing but instructing kernel to do this and that ..
Not quite. Programs don't usually tell the kernel when to write to disk; the kernel decides that for itself depending on how busy it is. Disk writes are usually carried out in quiet moments.
Quote:
Oh i see; if i don't do a sync after dd, i might got only a portion of the data that i suppose to get..
Yes! But you don't usually need to sync explicitly because umount does it for you.
Quote:
However i am wonder why dd program itself does not tell kernel to sync (push all the relevant buffered data to the usb stick) after the dd process comes to the end ? did the dd programmer forgotten to add the last step of work into the code ?
I don't know the answer to that but I suspect that letting the kernel balance out its workload is more efficient than individual programs ordering the kernel to do writes on their behalf.
Quote:
so, next time i can just execute a "sync" command before unplug usb data storage ?
No, just unmount it. That will automatically do the sync operation for you.
Quote:
How does the sync know which part of buffer to be push into persistent storage ? i don't think it will push all temperary buffer into persistent storage.. because there is no
Code:
$ sync /dev/sdb1
option.
Sync usually empties all the kernel output buffers. That's probably why it would be a bit antisocial for every program to demand it. I don't know what happens when you sync a particular file. There must be some way for the kernel to know which buffer is involved.

Last edited by hazel; 12-25-2021 at 12:45 PM.
 
1 members found this post helpful.
Old 12-25-2021, 01:57 PM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
People have gone to installing without answering the 32/64 bit question.

From post #1, you've a Celeron. That's a cheapskate 64bit cpu, with a 32bit data bus. In the old days, it was much cheaper to build with a half-width data bus, because all the last generation support chips which would be cheaper, and available. Some examples
  • Intel's 8088 = 16bit cpu with an 8 bit data bus
  • Motorola's 68008 = 16 bit cpu with 8 bit data bus.
  • Celeron = 64bit cpu with 32bit data bus

So the Celeron does a 64bit load/write in 2 chunks of 32. It does a 128 bit load or write in 4 chunks of 32, so it is fully functional as a 64bit cpu - it's just a slower and crappier 64 bit cpu

I'll leave the install details to those already helping you.
32 or 64 bit OSes will work fine on a Celeron. In the bad old days when Assembler was written, one would develop a knowledge of how many cycles an instruction took to complete. These half-width cpus took much longer than the rest, and were ethically ugly, but they worked.

Last edited by business_kid; 12-25-2021 at 01:59 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install openSuse 11 64bits on a box already has 32bits openSuse installed? 2007fld SUSE / openSUSE 7 11-28-2010 10:30 AM
Intel Atom 230 64bits or not? jlinkels Linux - Hardware 11 05-24-2009 08:18 PM
To be 64bits or not to be 64bits, that's the question... Mega Man X General 9 01-11-2008 09:26 AM
Old, old, old laptop just wondering.... Butler615 Linux - General 2 09-02-2007 03:01 PM
big plans for old old old laptop vdogvictor Linux - Laptop and Netbook 0 05-26-2004 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration