Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

 
Reply to this topic
 Ubuntu 8.10 Persistant + Grub4dos
post Feb 22 2009, 05:58 AM
Post #1
Christian
Member   **
Group: Members

  Joined: 13-August 08
Posts: 56
Thank(s): 1


United States


Hey all,

Hoping someone can help me get Ubuntu 8.10 running properly on my USB drive using grub4dos. I am able to start Ubuntu but not able to save any sessions? Here's my code:

CODE
find --set-root /casper/vmlinuz
kernel /casper/vmlinuz file=preseed/ubuntu.seed boot=casper console-setup/variantcode=nodeadkeys quiet splash --
initrd /casper/initrd.gz


I know the entries from 8.04 don't work any more, as the "persistent" changes are now stored inside a loop file instead of a seperate partition. I would be incredibly thankful for anyone that can help.



+Quote Post
post Feb 22 2009, 11:34 AM
Post #2
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


More generally, what are the entries in whatever is used in Ubuntu in its "default" install routine?

According to this:
http://www.pendrivelinux.com/ubuntu-810-pe...l-from-live-cd/

The configuration file is this one:
http://www.pendrivelinux.com/downloads/u810/text.cfg

CODE
default persist
label persist
  menu label ^Run Ubuntu Persistently saving changes back to USB
  kernel /casper/vmlinuz
  append  file=/preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd.gz quiet splash --
label live
  menu label ^Try Ubuntu without saving any changes to USB
  kernel /casper/vmlinuz
  append  file=/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --
label live-install
  menu label ^Install Ubuntu
  kernel /casper/vmlinuz
  append  file=/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.gz quiet splash --
label check
  menu label ^Check CD for defects
  kernel /casper/vmlinuz
  append  boot=casper integrity-check initrd=/casper/initrd.gz quiet splash --
label memtest
  menu label Test ^memory
  kernel /install/mt86plus
label hd
  menu label ^Boot from first hard disk
  localboot 0x80


A suitable grub4dos "translation" of persistent entry should be:
CODE
title Run Ubuntu Persistently saving changes back to USB
kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper persistent quiet splash --
initrd=/casper/initrd.gz


I am not so sure about the double minus sign at the end, maybe grub4dos parses it as a command. unsure.gif

DoUbLe ChEcK CaSe Of FiLeNaMeS.

As always, try first manually in command line mode.

Otherwise, backup bootsector, install syslinux, copy syslinux bootsector, restore previous bootsector, chainload syslinux bootsector file....

jaclaz


--------------------
+Quote Post
post Feb 23 2009, 09:54 PM
Post #3
orions
Newbie   *
Group: Members

  Joined: 1-February 09
Posts: 13
Thank(s): 0


Vietnam


Please forgive using the "borrowed account" from bugmenot, but I felt I had to offer some assistance while waiting for my own account to become active. T$unami

OK I am using Ubuntu 8.10 booting through grub4dos with persistent on my USB stick, my menu.lst looks like this;

CODE
title Ubuntu 8.10 Live with persistent
find --set-root /casper/initrd.gz
kernel /casper/vmlinuz locale=gb preseed/locale=gb kbd-chooser/method=gb console-setup/layoutcode=gb boot=casper persistent rw splash
initrd /casper/initrd.gz
boot


Please note the inclusion of my prefered keyboard layout GB, to have it set back to the default use this instead;

CODE
title Ubuntu 8.10 Live with persistent
find --set-root /casper/initrd.gz
kernel /casper/vmlinuz boot=casper persistent rw splash
initrd /casper/initrd.gz
boot


Any how to use the persistent feature you require a file called casper-rw to be placed in the root of the usb stick
The file "casper-rw" can be ripped from;
CODE
http://www.pendrivelinux.com/live-ubuntu-810-usb-persistent-install-windows/


in the file u810p.exe

Beware it is quite large 1.2gb, but it will give you storage to play within the Live environment on your USB stick. There is also a utility out there to create larger casper-rw files upto a max of 4gb with fat32.

Have fun

T$unami
+Quote Post
post Feb 23 2009, 10:15 PM
Post #4
Christian
Member   **
Group: Members

  Joined: 13-August 08
Posts: 56
Thank(s): 1


United States


Thanks Jaclaz & Orions!

I tried it again with same results... It will boot up fine but when I save a text file to the desktop and reboot, the file is gone. I did notice one thing though... When I try to access the USB drive(formatted with NTFS using Make_USB.exe) in Ubuntu, it pops up a message that it can not be accessed? The weird thing is that it can boot from it but is not able to read from the drive once the OS is up? I 'think' this might be the reason it's not saving the information to the drive but thats just my theory. I'm going to try and format it with FAT16(testing on a 2GB flash drive) and see if it works...Anyone try running Ubuntu 8.10 Live Persistent using NTFS?

QUOTE (orions @ Feb 23 2009, 04:54 PM) *
in the file u810p.exe

Beware it is quite large 1.2gb, but it will give you storage to play within the Live environment on your USB stick. There is also a utility out there to create larger casper-rw files upto a max of 4gb with fat32.


I tried this method as well. which further lead me to believe its something with it being NTFS.
+Quote Post
post Feb 23 2009, 11:02 PM
Post #5
orions
Newbie   *
Group: Members

  Joined: 1-February 09
Posts: 13
Thank(s): 0


Vietnam


QUOTE (Christian @ Feb 23 2009, 10:15 PM) *
Thanks Jaclaz & Orions!

I tried it again with same results... It will boot up fine but when I save a text file to the desktop and reboot, the file is gone. I did notice one thing though... When I try to access the USB drive(formatted with NTFS using Make_USB.exe) in Ubuntu, it pops up a message that it can not be accessed? The weird thing is that it can boot from it but is not able to read from the drive once the OS is up? I 'think' this might be the reason it's not saving the information to the drive but thats just my theory. I'm going to try and format it with FAT16(testing on a 2GB flash drive) and see if it works...Anyone try running Ubuntu 8.10 Live Persistent using NTFS?



I tried this method as well. which further lead me to believe its something with it being NTFS.



All I can say is that I'm using FAT32 on my 16gb, 8bg, and my 2gb stick with no problems, I may try ntfs tomorrow if I have the time.

goodluck

+Quote Post
post Feb 24 2009, 03:10 AM
Post #6
Christian
Member   **
Group: Members

  Joined: 13-August 08
Posts: 56
Thank(s): 1


United States


So apparently it doesn't matter if you use NTFS or FAT32 on the USB, you will still not be able to access the drive from within Ubuntu while logged in. I did however find that if it is formatted with FAT32, it will save your session. So I guess the real question is, How do you make a NTFS formatted usb drive save sessions in Live Ubuntu 8.10?
+Quote Post
post Feb 24 2009, 08:15 AM
Post #7
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


QUOTE (Christian @ Feb 24 2009, 05:10 AM) *
So I guess the real question is, How do you make a NTFS formatted usb drive save sessions in Live Ubuntu 8.10?


Well, no.

The real question is:
Is NTFS "completely supported in Ubuntu?

Or should some other cheat code added?

Or should the kernel rebuilt with some module enabled?

Or does the whatever init mount by default NTFS filesystems as R/O?

jaclaz


--------------------
+Quote Post
post Feb 24 2009, 08:51 PM
Post #8
Christian
Member   **
Group: Members

  Joined: 13-August 08
Posts: 56
Thank(s): 1


United States


QUOTE (jaclaz @ Feb 24 2009, 03:15 AM) *
Well, no.

The real question is:
Is NTFS "completely supported in Ubuntu?

Or should some other cheat code added?

Or should the kernel rebuilt with some module enabled?

Or does the whatever init mount by default NTFS filesystems as R/O?

jaclaz


@ jaclaz That makes sense. I've been reading threw a bunch of forums but still haven't found a solution to this issue frusty.gif

Anyone able to successfully get Ubuntu 8.10 Persistent running smoothly on NTFS?
+Quote Post
post Oct 9 2009, 10:06 PM
Post #9
capncurt7777
  
Group: Members

  Joined: 2-February 09
Posts: 5
Thank(s): 0


United States


sorry to revive this...any updates?

I recently bought an external 500gb Toshia 2.5" disk and was hoping to format it NTFS and have 9.04 or 9.10 persistent usb on it...

I can get it running fine, etc on NTFS - it just doesn't save the persistent changes to the casper-rw file...

Thanks
+Quote Post

Reply to this topic
1 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No new Pinned: grub4dos, .iso images and (hd32) or (0xFF) mapping
Post here ONLY reports of working setups!
46 was_jaclaz 117,730 Today, 04:42 AM
Last post by: shamurshamur
No New Posts Grub4DOS official development/release site ?
3 posbis 151 Yesterday, 08:54 PM
Last post by: Wonko the Sane
No New Posts grub4dos knoppix issues
1 apemax 71 Yesterday, 08:16 PM
Last post by: Wonko the Sane
No new Grub4dos with Win7RescuePE & Kaspersky & Bitdefender rescue cd(working on 5 more...)
Making DVD with Win7RescuePE and 7 antivirus progs
16 Leka 1,016 2nd February 2010 - 04:39 AM
Last post by: maanu
No New Posts grub4dos: map --mem is too slow for large iso
3 somanystars 277 1st February 2010 - 09:34 AM
Last post by: Wonko the Sane