Zum Inhalt wechseln


Foto

how to boot from a usb drive


  • Please log in to reply
17 Antworten in diesem Thema

#1 bmullan

bmullan

    Mitglied

  • Members
  • PIPPIP
  • 21 Beiträge
  • Ich besitze:WeTab Wifi 16GB
  • Betriebssystem:WeTab OS & (k)ubuntu

Geschrieben 07 August 2011 - 04:27 Uhr

I've been trying to install Ubuntu 11.04 on my WeTab with no success.

I've created 4 different USB drives each with the same Ubuntu 11.04 but none of them show up on the WeTab Boot Menu

I start by pressing the Power Button and when the BLUE light appears
I press the Power Button and the SOFT button at the same time.

The WeTab displays a Boot Menu but there is always only 1 Boot Choice and that is

WeTab OS

Its as if it is not seeing the USB drive as a Bootable drive BUT I know I've created each of these different USB drives correctly.

What else could be wrong? Am I not following the right procedure some how?

Thanks in advance
  • 0

#2 sirare

sirare

    Foren-Experte

  • Seadot Developer
  • PIPPIPPIPPIPPIPPIP
  • 934 Beiträge
  • Ich besitze:WeTab 3G 32GB & 2GB RAM
  • Betriebssystem:Windows 7
  • Modifikationen:DVB-T-Stick eingelötet und SGU-Konsole

Geschrieben 07 August 2011 - 06:04 Uhr

You need to create your bootstick with a "magic key"
That is a HEX-Code, google or search the forum for "magic key" and you'll find the answer.
  • 0
Wenn der Bauer nicht schwimmen kann....
ist die Badehose dran schuld!

#3 pmaler

pmaler

    neugieriger Programmierer

  • Members
  • PIPPIPPIPPIPPIPPIPPIPPIP
  • 4.140 Beiträge
  • LocationMoorenweis westl. von Fürstenfeldbruck
  • Ich besitze:WeTab 3G 32GB & 2GB RAM
  • Betriebssystem:WeTab OS & Windows 7
  • Modifikationen:Win8, neues BIOS

Geschrieben 07 August 2011 - 07:12 Uhr

If you are using windows, you can use my tool to set the "Magic Bytes"
http://www.pherzog.n...tes-to-USB.ashx

Under Linux use this command in the rootshell
printf "\x9d\x2a\x44\x7b"|dd of=/dev/sdX bs=1 count=4 seek=440

where the sdx is "sdb" or "sdc" depending on the usb-stick in what sequence it was "sticked in". Normaly "sdb" if it is the only one.

Then you should switch off the wetab first by pressing the powerbutton more than 5 seconds. a hard powerdown. During this hard powerdown hold the sensorkey till the wetab is shutdown completely.
With this procedure you tell the wetab "search for USB first at boottime"

an usb-stick with the magic bytes will be found then.

We found out, that not all sticks are working. some of them boot at the first time. some are booting never.
Look at this picture http://www.pherzog.n...e=ubssticks.jpg the red one works, the silver one does not work
  • 0
Viele Fragen wollen gar nicht beantwortet, sondern nur durchschaut werden.
Noch Fragen übrig? Dann versuche mal, die Antwort in meinem Wiki zu finden.
  Besucht mal meine WETAB FAQ-Seite

#4 klwinkel

klwinkel

    Mitglied

  • Members
  • PIPPIP
  • 30 Beiträge
  • LocationZutphen, Niederlanden
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:-
  • Modifikationen:Windows8

Geschrieben 07 August 2011 - 09:28 Uhr

So all of this is possible without the "plop" modifications?
  • 0

#5 pmaler

pmaler

    neugieriger Programmierer

  • Members
  • PIPPIPPIPPIPPIPPIPPIPPIP
  • 4.140 Beiträge
  • LocationMoorenweis westl. von Fürstenfeldbruck
  • Ich besitze:WeTab 3G 32GB & 2GB RAM
  • Betriebssystem:WeTab OS & Windows 7
  • Modifikationen:Win8, neues BIOS

Geschrieben 07 August 2011 - 10:10 Uhr

Yes. No need of Plop oder new BIOS
  • 0
Viele Fragen wollen gar nicht beantwortet, sondern nur durchschaut werden.
Noch Fragen übrig? Dann versuche mal, die Antwort in meinem Wiki zu finden.
  Besucht mal meine WETAB FAQ-Seite

#6 klwinkel

klwinkel

    Mitglied

  • Members
  • PIPPIP
  • 30 Beiträge
  • LocationZutphen, Niederlanden
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:-
  • Modifikationen:Windows8

Geschrieben 07 August 2011 - 14:47 Uhr

Ok thank you.

I tried to boot "MeeGo 1.2 netbook"(just for fun), but it didn't see the usb stick in the boot menu, just the wetab-os. I'll try again tonight...
  • 0

#7 Marc

Marc

    Foren-Experte

  • Members
  • PIPPIPPIPPIPPIPPIP
  • 702 Beiträge
  • LocationGütersloh

Geschrieben 07 August 2011 - 16:40 Uhr

Ok thank you.

I tried to boot "MeeGo 1.2 netbook"(just for fun), but it didn't see the usb stick in the boot menu, just the wetab-os. I'll try again tonight...

That's correct - you won't see an USB entry in the list just because boot of an USB Device won't list a new entry within the extlinux bootmenu. If the standard WeTab-BIOS recognizes the 4 bytes in the bootsector of the USB Stick (and only that exact 4 byte code!) it starts booting from the stick instead of booting extlinux from /dev/sda0 which presents the one entry list when the sensor-switch is pressed early during boot from ssd.
So when you see the Extlinux bootmenu containing the one WeTab OS entry you now know that the USB stick has not been recognized and boot from the internal ssd has started already. I simply switch off the wetab then and try the other usb port or try boot from an other usb stick prepaired with the 4 magic bytes.
  • 0

#8 klwinkel

klwinkel

    Mitglied

  • Members
  • PIPPIP
  • 30 Beiträge
  • LocationZutphen, Niederlanden
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:-
  • Modifikationen:Windows8

Geschrieben 07 August 2011 - 20:04 Uhr

I'm not having any succes yet. The program "writemagicbytestousb" does not see my USB disk, not on Vista(32), not on Windows7(64), not on XP(gives error on starting the progr.) also not after pressing "Reload Drivelist"
Windows does see the usbdisk, but can not explore it, but that is ok I think.
I don't have a linux system standby at the moment.

I wrote the MeeGo 1.2 image "meego-netbook-ia32-chrome-1.2.0.img" to the usb disk, using Win32DiskImager

I can boot my Dell D830 laptop fine with this usb disk, it runs MeeGo very smooth.

any more tips?
  • 0

#9 bmullan

bmullan

    Mitglied

  • Members
  • PIPPIP
  • 21 Beiträge
  • Ich besitze:WeTab Wifi 16GB
  • Betriebssystem:WeTab OS & (k)ubuntu

Geschrieben 07 August 2011 - 23:54 Uhr

I finally figured out how to install Ubuntu 11.04 alongside WeTabOS using a USB stick.

I used a Centon 4GB USB stick

First, goto Ubuntu.com and download the 11.04 Ubuntu Desktop x32 bit .iso file to your computer.

On my Ubuntu 11.04 Unity Desktop I clicked the Ubuntu Icon in the upper left corner of the screen and did a search for "startup disk creator"

As I typed Ubuntu does a search and you should see the Icon for the Application Startup Disk Creator appear below the search bar.

Click on the Startup Disk Creator Icon to launch the application. When it appears, insert your USB stick into your computer.

The Startup Disk Creator application should recognize and list your USB Stick in the Disk to Use window. Highlight that USB and Click the icon to Erase Disk.

After the USB has been erased look in the upper window of the Startup Disk Creator labeled - Startup disk ISO image and find the Ubuntu .iso file you downloaded.

Highlight that .iso name and then click on Make Startup Disk.

The process will take about 5-8 minutes depending on your USB Stick.

NOTE: Ubuntu will prompt you twice to enter your SUDO password during this process. Just enter the password and let it continue.

When the Startup Disk Creator application is complete you next will need to open a Terminal window

In the Terminal execute the command: mount

You should see something like this:
$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/bmullan/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=bmullan)
/dev/sdb2 on /media/02A41DFEA41DF4BF type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdg1 on /media/7CDC-C062 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)


On my system the Centon USB Stick was the device /dev/sdg1 NOTE: yours is probably different. You can tell what it really is by pulling your USB Stick out and doing the command: mount again. Which ever device has disappeared is the device your USB is when you put it back in to your computer.

Insert your USB Stick again.

Now you need to insert the MAGIC NUMBER to identify your USB to the WeTab as a Bootable USB Stick.

In the Terminal window enter the command:

$ printf "\x9d\x2a\x44\x7b"|dd of=/dev/SDx bs=1 count=4 seek=440

Substituting your device number for the "x" above

So as an example if your USB Stick is /dev/sdb1

You would DROP the "1" and ONLY use "sdb" in the above command which would then be:

$ printf "\x9d\x2a\x44\x7b"|dd of=/dev/sdb bs=1 count=4 seek=440

After doing the above command you need to make sure that the USB Stick device gets unmounted from your Ubuntu desktop PC.

$ umount /dev/sdb1

I think the above is a step I kept forgetting and because of that Ubuntu hadn't fully written ALL the data to the USB Stick yet.

Once the unmount is done... pull your USB Stick and insert it into your WeTab.

The next step is just in case you hadn't already done this... but do the following:

Press your Power Button and let your WeTab start to boot WeTabOS.

Press BOTH the Power Button on the back and the Soft Button on the front in the very upper LEFT corner simultaneously and continue to do so for AT LEAST 5 SECONDS after the WeTab has powered off.

At that point ONLY release your finger from the Power Button on the back and the WeTab's little Blue LED should come back on (REMEMBER to keep your finger on the front Soft Button for a few seconds.

!!! STOP HERE - although you can install Ubuntu after this power on and the boot from the USB drive... I ended up having a problem with the Ubuntu GRUB menu !!!!

After installing Ubuntu 11.04 I rebooted but when the WeTab presented the Ubuntu GRUB menu ... Ubuntu wasn't listed.

I only had:

Memory test ... whatever
Memory test ... whatever
Other Linux ---- which is the WeTab OS

By pressing the SOFT BUTTON in the top left front I could move down to "Other Linux" (ie Wetab OS) and then when it was highlighted I did a LONG PRESS of the SOFT BUTTON and the
WeTab OS booted.

So I still am okay ... I've just got to figure out where the GRUB menu is and get it fixed so I also see the Ubuntu OS option in the GRUB boot list menu.

I'll post what I find to fix the rest of this when I find the answer..
  • 0

#10 bmullan

bmullan

    Mitglied

  • Members
  • PIPPIP
  • 21 Beiträge
  • Ich besitze:WeTab Wifi 16GB
  • Betriebssystem:WeTab OS & (k)ubuntu

Geschrieben 08 August 2011 - 02:19 Uhr

Need some help from a MeeGo or WeTab OS experienced person.

After installing Ubuntu 11.04 the Ubuntu Grub menu does appear when the WeTab boots but Ubuntu isn't listed.

I can still scroll down the menu and pick "Other Linux" which is WeTab OS and get it running.

Once in WeTab OS I start a terminal and got this output from the "mount" and the "df" commands:

mount command output:

[root@localhost extlinux]# mount
/dev/sda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /var/lock type tmpfs (rw,size=4m)
tmpfs on /var/run type tmpfs (rw,size=4m)
/dev/sda1 on /boot type ext3 (rw,noatime)
tmpfs on /dev/shm type tmpfs (rw)
none on /sys/kernel/debug type debugfs (rw)
gvfs-fuse-daemon on /home/bmullan/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=bmullan)

df command output:

[root@localhost extlinux]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 7166464 3651564 3150832 54% /
tmpfs 4096 0 4096 0% /var/lock
tmpfs 4096 44 4052 2% /var/run
/dev/sda1 202219 15653 176126 9% /boot
tmpfs 1030660 124 1030536 1% /dev/shm


I don't see the Ubuntu Partition mounted?

Not being familiar with MeeGo and WeTab OS yet..

What application or tool can I install to help me find and mount my Ubuntu Partition?

Also.. how do I install such application -or- tool on the WeTabOS/Meego ?

Sorry but I'm a dummy with this OS still.

Thanks for any advice.

Brian
  • 0

#11 klwinkel

klwinkel

    Mitglied

  • Members
  • PIPPIP
  • 30 Beiträge
  • LocationZutphen, Niederlanden
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:-
  • Modifikationen:Windows8

Geschrieben 08 August 2011 - 20:33 Uhr

sorry for hijacking the thread, but it is maybe usefull information for booting from usb.

I got it working. I installed Damn Small Linux(DSL) on an old laptop, and used dd to write the magic bytes, that did the trick.

The netbook version of Meego 1.2 Does run, but is ofcourse not suitable for a tablet, it does not have an on-screen keyboard....

Angehängte Dateien


  • 0

#12 klwinkel

klwinkel

    Mitglied

  • Members
  • PIPPIP
  • 30 Beiträge
  • LocationZutphen, Niederlanden
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:-
  • Modifikationen:Windows8

Geschrieben 08 August 2011 - 20:34 Uhr

sorry for this post, something went wrong uploading the picture
  • 0

#13 mg.eggink

mg.eggink

    Neuling

  • Members
  • PIP
  • 7 Beiträge
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:Windows 7

Geschrieben 10 August 2011 - 12:57 Uhr

About Booting from USB.

I had problems also, before the BIOS-upgrade with ExoPC-bios.

If I managed at all to come in the Boot-menu following the instructions from de Wetab-website
there was only one choice.

But this worked for me: Bootable USB-stick (Fat32) in upper connector.
Keyboard connected.
Shutdown (!) the Wetab with Light-sensor fully covered.
Uncover the Light-sensor.
After a few second the Wetab starts again, hit F11 (several times).

MGE
  • 0

#14 klwinkel

klwinkel

    Mitglied

  • Members
  • PIPPIP
  • 30 Beiträge
  • LocationZutphen, Niederlanden
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:-
  • Modifikationen:Windows8

Geschrieben 10 August 2011 - 16:05 Uhr

The magic bytes did the trick for me. (and covering the light sensor during boot).
  • 0

#15 Blindfreddy

Blindfreddy

    Neuling

  • Members
  • PIP
  • 7 Beiträge
  • Ich besitze:WeTab 3G 32GB
  • Betriebssystem:(k)ubuntu

Geschrieben 09 Januar 2012 - 09:01 Uhr

For all those who, like me, nearly threw the WeTab out of the window in frustration trying to get it to boot from USB stick: the printf command to set the magic bytes on a USB stick didn't work on any of my four USB sticks. Despite the message confirming that the four bytes were written, nothing was written at all ! I ended up using a hex editor in Windoze to verify that the magic bytes were written and found out that they were not !

So, if you are having trouble booting from USB stick, use a hex editor to confirm that the magic bytes were written and if not, write them to the USB stick with the hex editor. I used HxD, the address is hexadecimal 01B8 (which is decimal 440).

After that, shut down the WeTab by pressing and holding the power button for 5 seconds whilst keeping your left thumb on the light sensor, then hold the power button and light sensor for 3 more seconds, then let go, the WeTab reboots automatically and starts from USB stick.

Hope this helps some other frustrated soul :-)
  • 0

#16 thephilos

thephilos

    Mitglied

  • Members
  • PIPPIP
  • 33 Beiträge
  • Ich besitze:WeTab Wifi 16GB
  • Betriebssystem:Windows 7

Geschrieben 20 Januar 2012 - 11:37 Uhr

hi i've found the address in HxD (440 decimal) but don't know exactly where and which numbers overwrite(i know the string is 9d 2a etc but it asks me more setting:at the beginning,this offset...).I wish to know also if it's compulsory to have the usb key formatted in fat32 and not ntfs.i'm not still able to boot from key...please help!
  • 0

#17 Phantomal

Phantomal

    Diplomator

  • Administrator
  • 5.124 Beiträge
  • Ich besitze:WeTab 3G 32GB & 2GB RAM
  • Betriebssystem:Seadot
  • Modifikationen:120 GB OCZ Noctis SSD

Geschrieben 20 Januar 2012 - 11:39 Uhr

The printf command works. (it worked on all of my sticks)

But its possible, that you have to issue a sync command before pulling out the Stick.
  • 0
Apparate von Menschen für Menschen gemacht... können Fehler haben.

#18 thephilos

thephilos

    Mitglied

  • Members
  • PIPPIP
  • 33 Beiträge
  • Ich besitze:WeTab Wifi 16GB
  • Betriebssystem:Windows 7

Geschrieben 20 Januar 2012 - 12:04 Uhr

well i've not still tested printf command becouse someone here wrote was not valid (written but not working).Maybe the code is written but the problem is "somewhere else":
1 key not compatible
2 not correctly formatted
3 bios not compatible
4 push and pull wrong
5 but i got the menu that said only "we tab os" so confirm it doesn't see the stick
The whole thing is messy and i'm still a novice to get it through...
  • 0




Besucher die dieses Thema lesen: 0

Mitglieder: 0, Gäste: 0, unsichtbare Mitglieder: 0