Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: GRUB Expert needed!

  1. #1
    Join Date
    Jan 2008
    Location
    Huntsville, AL.
    Beans
    157
    Distro
    Ubuntu 9.10 Karmic Koala

    Exclamation [SOLVED] GRUB Expert needed!

    I have posted a lot of posts, trying to solve this problem, and have not come to a solution. Therefore, I want an expert to answer this question, and not someone who thinks one of their ideas might work. Preferably an Admin, but any expert is welcome. I have a simple question that nobody seems to be able to do. I need to boot an iso file, via grub, off of a USB stick (actually a SD adapter), on a computer running Windows 98SE, with one 10GB HDD, all one partition. I need the exact lines of code that will accomplish this. not random ideas. code. I am running GRUB, and GRUB4DOS, I can use either.
    Last edited by jesusfreak107; May 8th, 2008 at 12:03 AM.
    Dell Dimension 3000. 1.7GHz, 1GB RAM, 40GB (Windows XP, Windows 7 RC), 40GB (unformatted), 30 GB (Ubuntu 9.10) HDD. Blog: http://youthofeternity.wordpress.com

  2. #2
    Join Date
    Feb 2007
    Location
    Maryland, USA
    Beans
    3,396
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: GRUB Expert needed!

    I can help you. What you want to do is to be able to boot a system that is on your USB SD card. But, Charlie is old and cannot boot a USB stick. Probably its BIOS would not even see it. If this is the case, you cannot use grub to boot it, because grub relies on the BIOS to enumerate drives. Also, grub does not have the capacity to boot .iso's. It loads and boots kernels out of filesystems.

    There is something you can do, but you use the syslinux program. This program runs under DOS or Windows, and can "boot" a USB stick. It is used as a way to install Ubuntu onto computers with no CD, no bootable USB, but USB access. It uses the DOS or Windows system to recognize and access the USB stick, because the BIOS cannot.

    Here is a Wiki page that discusses the use of syslinux to install Ubuntu FROM a USB stick (using as you would a Live CD). This is different from installing Ubuntu ON a USB stick, and people get the two confused. I think you want to install FROM a USB stick, and make your old laptop a dual-boot powerhouse

    You will have problems, though, because you have too little memory to run the Live CD .iso. You might have to try the Alternate Install CD, which I think can run on less. You should also consider installing Xubuntu unless you can put more memory in there.

  3. #3
    Join Date
    Jan 2008
    Location
    Huntsville, AL.
    Beans
    157
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: GRUB Expert needed!

    I am using the Xubuntu Iso already. Thanks for the link! I had heard about syslinux but did not really know how it worked, and how to use it. Thanks a lot! I'll try this and reply back to this post probably Sunday, I am going to be out of town on a hiking trip tomorrow.
    Dell Dimension 3000. 1.7GHz, 1GB RAM, 40GB (Windows XP, Windows 7 RC), 40GB (unformatted), 30 GB (Ubuntu 9.10) HDD. Blog: http://youthofeternity.wordpress.com

  4. #4
    Join Date
    Jan 2008
    Location
    Huntsville, AL.
    Beans
    157
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: GRUB Expert needed!

    Okay, little problem. I tried putting it on the USB device with my main Linux installation. I could not boot off of it, but I do not know if that was my fault or not. However, I decided thatI should do it on Windows, just to make sure that it was compatible, especially with my outdated OS/Hardware . I downloaded the windows version, and found instructions. I downloaded the .zip file, and extracted it. I put the syslinux.com in C:\WINDOWS. I tried to use the command to install it on the USB device (E:\). As you can see below, it did not work. I tried different variants of the command I was given. I tried using the command via the original location, where I extracted it, and the default C:\WINDOWS directory, and the C: drive, relocating it to each location. (I am sorry if I have made a stupid mistake here, I am a Linux guy, not a DOS guy, I have NO experience with it.) here is the error, showing the different variants I used.

    C:\WINDOWS>cd C:\

    C:\>syslinux -s -m E:\
    Usage: syslinux [-sfmar][-d directory] <drive>: [bootsecfile]

    C:\>syslinux -s -m E:
    syslinux: sector read error

    C:\>syslinux -s E:
    syslinux: sector read error

    C:\>syslinux E:
    syslinux: sector read error

    C:\>syslinux -a E:
    syslinux: sector read error

    C:\>syslinux.com -a E:
    syslinux: sector read error

    C:\>syslinux A:
    syslinux: sector read error

    C:\>
    Any ideas?
    Dell Dimension 3000. 1.7GHz, 1GB RAM, 40GB (Windows XP, Windows 7 RC), 40GB (unformatted), 30 GB (Ubuntu 9.10) HDD. Blog: http://youthofeternity.wordpress.com

  5. #5
    Join Date
    Nov 2005
    Location
    New York City
    Beans
    75
    Distro
    Ubuntu

    Re: GRUB Expert needed!

    Also need a grub expert for a different situation:

    I have 3 sata disks: sda sdb sdc

    sda has xp
    sdb has vista
    sdc has linux

    How should my menu.lst file look to boot all the above and default sdc?

  6. #6
    Join Date
    Feb 2007
    Location
    Maryland, USA
    Beans
    3,396
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: GRUB Expert needed!

    To Jesusfreak: Does the USB drive have a FAT16 format? If it does not, format it first. If it has an ext3 format, Windows cannot write to it. Make sure it has a Windows format.

    Then, are you sure the USB drive is E: ? Sometimes it is another letter. Check in My Computer, and see what the drive designation is. If it does not appear in My Computer, that is a sign it is not formatted for Windows. It has to appear in My Computer in order to be accessible to syslinux.

  7. #7
    Join Date
    Jan 2008
    Location
    Huntsville, AL.
    Beans
    157
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: GRUB Expert needed!

    Quote Originally Posted by dstew View Post
    To Jesusfreak: Does the USB drive have a FAT16 format? If it does not, format it first. If it has an ext3 format, Windows cannot write to it. Make sure it has a Windows format.

    Then, are you sure the USB drive is E: ? Sometimes it is another letter. Check in My Computer, and see what the drive designation is. If it does not appear in My Computer, that is a sign it is not formatted for Windows. It has to appear in My Computer in order to be accessible to syslinux.
    Yes, it is E. No, it is not FAT16. It is FAT32. Should I reformat it?

    Oh, by the way, if it matters any, it is a 2GB KINGSTON SD/USB adapter, partitioned with one 900-ishMB EXT3, one 760MB FAT32 (the E: drive), and the rest as EXT3 SWAP, paritioned with the idea of possibly running Linux off the drive itself.
    Dell Dimension 3000. 1.7GHz, 1GB RAM, 40GB (Windows XP, Windows 7 RC), 40GB (unformatted), 30 GB (Ubuntu 9.10) HDD. Blog: http://youthofeternity.wordpress.com

  8. #8
    Join Date
    Jan 2008
    Location
    Huntsville, AL.
    Beans
    157
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: GRUB Expert needed!

    Reformatted to FAT16. Will try it tomorrow, going to bed now. Any ides before I start?
    Dell Dimension 3000. 1.7GHz, 1GB RAM, 40GB (Windows XP, Windows 7 RC), 40GB (unformatted), 30 GB (Ubuntu 9.10) HDD. Blog: http://youthofeternity.wordpress.com

  9. #9
    Join Date
    Jan 2008
    Location
    Huntsville, AL.
    Beans
    157
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: GRUB Expert needed!

    Okay, tried with FAT16. Got the following problem when using isostick.sh in Linux:
    ./isotostick.sh [--reset-mbr] [--noverify] <isopath> <usbstick device>
    I entered exactly what they said in the manual.
    Any ideas? I am on Summer Break now, i have more time to deal with the problem.

    I got that script from the manual you gave me in your first post.
    Dell Dimension 3000. 1.7GHz, 1GB RAM, 40GB (Windows XP, Windows 7 RC), 40GB (unformatted), 30 GB (Ubuntu 9.10) HDD. Blog: http://youthofeternity.wordpress.com

  10. #10
    Join Date
    Feb 2007
    Location
    Maryland, USA
    Beans
    3,396
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: GRUB Expert needed!

    If you entered exactly what was in the manual you made a mistake, because you need to substitute the correct linux device name for /dev/sdX1 that is in the command. Also, the command assumes that the .iso is in the current directory. Was this true?

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •