Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Installing dyne:bolic to USB
boxcartenant
post Feb 10 2015, 11:44 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 10-February 15
Member No.: 18,830



Hi All,

ETA: IGNORE THIS POST! READ THE REPLY! (I'm keeping the post up for posterity... just in case we need it later or someone has the same problem as me.)

I'm using VMWare to boot into a live ISO of dyne:bolic. My goal is to make a bootable USB stick.

I followed the instructions in the PDF which was on the dyne:bolic live desktop for "Boot from USB". The problem really occurs when I start messing with grub, but I'm attaching all my notes, because I don't know what is relevant:

/* Making the virtual machine */
//Using "dynebolic-3.0.0-beta.iso" from distributor website
//Used option "Linux" with version "Other Linux 2.6.x kernel"
//Selected option "Store virtual disk as single file". I will not be using this virtual disk again in the future.
// 8GB Hard Disk - 2048 MB memory - 1 Processor (single core)



/* using dyne:bolic terminal */

#sudo su

# cat /proc/partitions
major minor #blocks name
8 0 8388608 sda
7 0 171524 loop0
8 16 15975360 sdb
//The USB drive was detected as sdb

# cfdisk /dev/sdb
FATAL ERROR: Bad primary partition 0: Partition begins after end-of-disk
Press any key to exit cfdisk.

//some googling led me to this:
# fdisk /dev/sdb
//So first delete all the partitions:
: d
Select partition (1-4)
1
: d
Select partition (1-4)
2
: d
Select partition (1-4)
3
: d
Selected partition 4
: d
No partition is defined yet!

//now make new partitions:
: n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-15600, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-15600, default 15600): 15600

//I don't know how to change type from here. So write partition table and exit. I'll do the rest using cfdisk if possible.
: w
...
WARNING: Re-reading the partition table failed with error 0: Success.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.

# partprobe
Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc had been opened read-only.

#kpartx
zsh: command not found: kpartx


#cat /proc/partitions
major minor #blocks name
8 0 8388608 sda
7 0 171524 loop0
8 16 15975360 sdb
8 17 15974384 sdb1
//I don't know where sdb1 came from. Assuming it's ok.

#cfdisk sdb
//Shows:
// Name: sdb1
// Part Type: Primary
// FS Type: Linux
// Size (MB): 16357.79

//It's already type linux, so not doing anything with cfdisk. Quit

# mke2fs /dev/sdb
...
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
/dev/sdb is mounted; will not make a filesystem here!

# umount /dev/sdb
# mke2fs /dev/sdb
...
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
...

# mount /dev/sdb /mnt/usb
mount: mount point /mnt/usb does not exist
zsh: exit 32 mount /dev/sdb /mnt/usb

# mount /dev/sdb /mnt
# dir
Desktop Templates

# grubconfig
zsh: command not found: grubconfig
zsh: exit 127 grubconfig

//some googling and I found:
# grub-install /dev/sdb
grub-probe: error: cannot find a device for /boot/grub.

No path or device is specified.
Try "grub-probe --help" for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option '--modules' explicitly
zsh: exit 1 grub-install /dev/sdb

# grub-install --modules=ext2 /dev/sdb
grub-probe: error: cannot find a device for /boot/grub.

No path or device is specified.
Try "grub-probe --help" for more information.
No path or device is specified.
Try "grub-probe --help" for more information.
grub-probe: error: Cannot find a GRUB drive for /dev/sdb. Check your device.map.

No path or device is specified.
Try "grub-probe --help" for more information.
Invalid device '/dev/sdb'.
Try "grub-setup --help" for more information.
zsh: exit 1 grub-install --modules=ext2 /dev/sdb


/* End of Notes */

That's as far as I'm getting. Any advice? Questions? Ideas?

Thanks all
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
boxcartenant
post Feb 10 2015, 12:39 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 10-February 15
Member No.: 18,830



OK!!!

I found UUI and used it successfully to put dyne:bolic onto the USB.

Here are my new problems:
1. When I boot into dyne:bolic, the USB operating system is read-only. If I change something (like adding a new file to my Home folder, for example), it doesn't stay changed on reboot.
2. I don't know how to change my admin password and username. (I think I can figure this one out on my own, but I would like help with #1)

I understand that USB has a relatively small number of read/writes, so if you guys have ideas to limit the number of writes during normal operation, that would be cool. But I don't want the USB FS to be read-only.

Thanks again, and sorry if you read the entire OP for no reason.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 10:34 PM