The two things that I have found that may go wrong when trying to boot from USB.
The wrong partition is specified in the grub boot menu, (& fstab file).
The system needs longer to find the boot partition, (add rootdelay=9 to the grub boot line).
-
Posts: 850
- Joined: 26 Jul 2012
-
Posts: 156
- Joined: 08 Jan 2014
#17
Thank you for answers.
This is the boot/grub/menu/list
and the fstab
Do I have to add" rootdelay=9" to the kernel-line in the boot/grub/menu.lst ?
This is the boot/grub/menu/list
Code: Select all
timeout 5
color cyan/blue white/blue
foreground ffffff
background 0639a1
gfxmenu /boot/grub/message
title antiX at sda1, kernel 3.7.10-antix.5-486-smp
root (hd0,0)
kernel /boot/vmlinuz-3.7.10-antix.5-486-smp root=/dev/sda1 quiet
initrd /boot/initrd.img-3.7.10-antix.5-486-smp
boot
and the fstab
Code: Select all
# Pluggable devices are handled by uDev, they are not in fstab
/dev/sda1 / auto defaults,noatime 1 1
/dev/sda2 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
Do I have to add" rootdelay=9" to the kernel-line in the boot/grub/menu.lst ?
-
Posts: 156
- Joined: 08 Jan 2014
#18
This is the boot-folder from stick
Uploaded with
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://imageshack.us"
linktext was:"ImageShack.us"
====================================
Strange ,there is no mem-test in boot/grub/menu.lst
I changed menu.lst like that
Uploaded with
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://imageshack.us"
linktext was:"ImageShack.us"
====================================
Doesn't work
So I don't know how to go on.
Uploaded with
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://imageshack.us"
linktext was:"ImageShack.us"
====================================
Strange ,there is no mem-test in boot/grub/menu.lst
I changed menu.lst like that
Uploaded with
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://imageshack.us"
linktext was:"ImageShack.us"
====================================
Doesn't work
So I don't know how to go on.
-
Posts: 850
- Joined: 26 Jul 2012
#19
See if you can take out the hdd of the laptop, for checking the penrdive works, also check the bios for any other options pertaining to usb booting, like 'legacy'.
Edit: Your problem seems to be getting your laptop to see the pendrive as the first boot device.
Edit: Your problem seems to be getting your laptop to see the pendrive as the first boot device.
-
Posts: 156
caprea - Joined: 08 Jan 2014
#20
Thank you for answer,fatmac.
There's allready no hdd in the laptop.It has a normal bios ,no uefi.
The bootorder seems to be ok, cause every live-stick boots on the laptop.
Unfortunately I can not try the stick with the normal installation on another pc ,cause my desktop-pc doesn't boot from usb.
I never dealed with plop ,would this maybe be an option to get the stick working on the laptop?
There's allready no hdd in the laptop.It has a normal bios ,no uefi.
The bootorder seems to be ok, cause every live-stick boots on the laptop.
Unfortunately I can not try the stick with the normal installation on another pc ,cause my desktop-pc doesn't boot from usb.
I never dealed with plop ,would this maybe be an option to get the stick working on the laptop?
-
Posts: 1,062
- Joined: 20 Jan 2010
#21
I do not have the ability at the moment to write up step by step a howto for installing extlinux to the mbr / boot partition. I am also not sure why grub does not work... but seeing how every live usb functions just fine, that would mean extlinux is known to work. So if it were me, I would try installing extlinux to the mbr of the installed stick.
I can give a more detailed howto later, but for the moment the best I can do is link you to the extlinux install doc @ syslinux.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.syslinux.org/wiki/index.php/EXTLINUX"
linktext was:"http://www.syslinux.org/wiki/index.php/EXTLINUX"
====================================
If you give it a read through it may give you a general idea of what will be done and understanding the steps I will write later may be easier to accomplish
Dave
I can give a more detailed howto later, but for the moment the best I can do is link you to the extlinux install doc @ syslinux.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.syslinux.org/wiki/index.php/EXTLINUX"
linktext was:"http://www.syslinux.org/wiki/index.php/EXTLINUX"
====================================
If you give it a read through it may give you a general idea of what will be done and understanding the steps I will write later may be easier to accomplish
Dave
-
Posts: 156
- Joined: 08 Jan 2014
#22
Thank you Dave, I will look for this.
-
Posts: 325
- Joined: 04 Nov 2011
#23
I doubt that there is grub on the stick.
around 6.39pm, the menu.lst a label and to 8.46pm she has a uuid.
Please click on the terminal output of
Maybe grub should be installed again...
around 6.39pm, the menu.lst a label and to 8.46pm she has a uuid.
Please click on the terminal output of
Code: Select all
fdisk -l -u -c
-
Posts: 156
- Joined: 08 Jan 2014
#24
Hello male,
she changed menu lst. to uuid by herself.
terminal without stick
terminal with stick
she changed menu lst. to uuid by herself.
terminal without stick
Code: Select all
$ sudo fdisk -l -u -c
[sudo] password for helga:
fdisk: Ungültige Option -- c
Disk /dev/sda: 80 GB, 80023749120 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156296385 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 2048 81913855 40957686 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2 81915496 156301311 37190475 f Extended LBA
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda5 81917952 112637951 15358140 83 Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda7 112640000 152107007 19735852 83 Linux
Warning: Partition 7 does not end on cylinder boundary.
/dev/sda6 152109056 156301311 2096482 82 Linux swap
Warning: Partition 6 does not end on cylinder boundary.
Warning: Unable to open /dev/sr2 read-write (Das Dateisystem ist nur lesbar). /dev/sr2 has been opened read-only.
Warning: The driver descriptor says the physical block size is 512 bytes, but Linux says it is 2048 bytes.
terminal with stick
Code: Select all
$ sudo fdisk -l -u -c
[sudo] password for helga:
fdisk: Ungültige Option -- c
Disk /dev/sda: 80 GB, 80023749120 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156296385 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 2048 81913855 40957686 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2 81915496 156301311 37190475 f Extended LBA
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda5 81917952 112637951 15358140 83 Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda7 112640000 152107007 19735852 83 Linux
Warning: Partition 7 does not end on cylinder boundary.
/dev/sda6 152109056 156301311 2096482 82 Linux swap
Warning: Partition 6 does not end on cylinder boundary.
Disk /dev/sdc: 15 GB, 15512878080 bytes
255 heads, 63 sectors/track, 1886 cylinders, total 30298590 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 26050559 13028683 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sdc2 26050560 30310399 2128612 82 Linux swap
Warning: Partition 2 does not end on cylinder boundary.
Warning: Unable to open /dev/sr2 read-write (Das Dateisystem ist nur lesbar). /dev/sr2 has been opened read-only.
Warning: The driver descriptor says the physical block size is 512 bytes, but Linux says it is 2048 bytes.
-
Posts: 325
- Joined: 04 Nov 2011
#25
Guten Morgen!
The following commands are required to issue the grub antiX on to install the stick:
determine how the stick is, and what he has uuid
Example here is my stick sdb1
then
BUT
your stick
my stick(do not let FAT16 irritate)
A flash memory requires an alignment. With a usb stick is the more necessary because of the system so and so even slow down.
So, you've got to do it again with gparted.
"Align to 1MiB" recommend ext2 or 3
After installation, check with previously determined blkid:
-fstab
-menu.lst
-device.map
good luck __{{emoticon}}__
The following commands are required to issue the grub antiX on to install the stick:
determine how the stick is, and what he has uuid
Example here is my stick sdb1
Code: Select all
# blkid -c /dev/null -o list
device fs_type label mount point UUID
----------------------------------------------------------------------------------------------
/dev/sda1 ext4 (not mounted) 9b306f0f-ed25-46e5-9d1b-fede7cc26389
/dev/sda5 ext4 home (not mounted) 386e5d76-fc3c-430f-9a31-c97cf64d1b20
/dev/sda6 swap <swap> 016d8cde-618e-4236-9395-1a3b36fe3d1a
/dev/sda7 ext4 / 23936e83-d30f-40f9-a136-57059cc5190a
/dev/sda8 vfat DATEN /media/DATEN F300-DCE2
/dev/sda9 ext4 (not mounted) 207aacef-dca6-4a2f-88e8-d9def373ecc3
/dev/sda10 ext4 (not mounted) 9309d5f1-6cee-468a-8597-8ecce6141608
/dev/sdb1 vfat (not mounted) A234-8808
Code: Select all
# mount /dev/sdb1 /mnt/temp
# mkdir -p /mnt/temp/boot/grub
# cp /boot/grub/*stage* /mnt/temp/boot/grub
# echo '(hd0) /dev/sdb' > /mnt/temp/boot/grub/device.map
# grub-install --root-directory=/mnt/temp /dev/sdb
Installation finished. No error reported.
This is the contents of the device map /mnt/temp/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sdb
# umount /mnt/temp
your stick
Code: Select all
/dev/sdc1 * 1 26050559 13028683 83 Linux
Code: Select all
/dev/sdb1 * 2048 503807 250880 6 FAT16
A flash memory requires an alignment. With a usb stick is the more necessary because of the system so and so even slow down.
So, you've got to do it again with gparted.
"Align to 1MiB" recommend ext2 or 3
After installation, check with previously determined blkid:
-fstab
-menu.lst
-device.map
good luck __{{emoticon}}__
-
Posts: 156
- Joined: 08 Jan 2014
#26
@male ,thank you for answer.
OK,I tried this.I had to change a little bit,and I dont know if everything worked Ok,but inthe end there was standing:Installationfinished.No error........
But the result was, that during boot there was standing on black screen in white letters"Grub" and a blinking cursor.Strange.
Then I tried to install grub as chroot.That really changed menu.lst.There was now mem-test .But no success during boot:operating system not found.
I tried plop,but plop was a flop.
I made a super-grub-disk from this side
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.supergrubdisk.org/"
linktext was:"http://www.supergrubdisk.org/"
====================================
.
With this cd I could finally boot the system on the stick,after enabling floppys.
Installing est-linux to the mbr would have been the solution,I think
But after all I've now seen that the system on the usb-stick is much slower than the live-usb,especially the internet-speed.So I made a snapshot of my running antix-system and from this a live-usb.This worked really good ,it's cool, and I'm feeling very comfortable with this solution.
That's the story.
Thank you for help.
OK,I tried this.I had to change a little bit,and I dont know if everything worked Ok,but inthe end there was standing:Installationfinished.No error........
But the result was, that during boot there was standing on black screen in white letters"Grub" and a blinking cursor.Strange.
Then I tried to install grub as chroot.That really changed menu.lst.There was now mem-test .But no success during boot:operating system not found.
I tried plop,but plop was a flop.
I made a super-grub-disk from this side
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.supergrubdisk.org/"
linktext was:"http://www.supergrubdisk.org/"
====================================
.
With this cd I could finally boot the system on the stick,after enabling floppys.
Installing est-linux to the mbr would have been the solution,I think
But after all I've now seen that the system on the usb-stick is much slower than the live-usb,especially the internet-speed.So I made a snapshot of my running antix-system and from this a live-usb.This worked really good ,it's cool, and I'm feeling very comfortable with this solution.
That's the story.
Thank you for help.
-
Posts: 156
- Joined: 08 Jan 2014
#27
OK,tried again and installing extlinux to the mbr did the trick,thanks for advice,Dave.
This is a good page,if someone else is having also problems with his usb-stick.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://shallowsky.com/linux/extlinux.html"
linktext was:"http://shallowsky.com/linux/extlinux.html"
====================================
But in MX14 and I think in antix too,you don't have to add any line to /boot/extlinux.conf.Just make an update-extlinux.
This is a good page,if someone else is having also problems with his usb-stick.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://shallowsky.com/linux/extlinux.html"
linktext was:"http://shallowsky.com/linux/extlinux.html"
====================================
But in MX14 and I think in antix too,you don't have to add any line to /boot/extlinux.conf.Just make an update-extlinux.