Debian Configuration :: Bootable USB Drive With GParted
Aug 28, 2015How can I make a bootable usb drive with GParted?
Is there a package that I can install to do this.
How can I make a bootable usb drive with GParted?
Is there a package that I can install to do this.
I'm trying to resize tmp file using gparted. So I used gparted live cd and then i resized the tmp file but delete the old /tmp partition without backup. Now, my pc do not start. I have Debian 8.
View 14 Replies View RelatedSo, my issues since upgrading to Jessie seem to compound. When I fix one issue, two more arise. Right now, I have a full system disk. How it got so full. So I started poking around. I ran
Code: Select all find / -type f -size +50M -exec ls -lh {} ; | awk '{ print $NF ": " $5 }'
Found a few files I could delete, and did, but I also found Code: Select all/var/log/syslog.1: 33G
/var/log/messages: 33G
/var/log/user.log: 33G
What I find strange is that they're all exactly 33G each. So that accounts for the missing 99GB I deleted them, however only recovered 27Gb. Whats weird is when I type df -h I get
Code: Select allFilesystem Size Used Avail Use% Mounted on
/dev/dm-0 106G 74G 27G 74% /
udev 10M 0 10M 0% /dev
tmpfs 3.2G 9.7M 3.2G 1% /run
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/sda1 228M 27M 189M 13% /boot
/dev/sdb1 1.9T 62G 1.8T 4% /media/ntfs
tmpfs 1.6G 0 1.6G 0% /run/user/0
What are the tmpfs's and how can I reclaim that space, and what is /dev/dm-0 and why is that taking up so much space?
I have 2 LVGs vgdisplay -v
Code: Select allroot@SETV-007-WOWZA:~# vgdisplay -v
DEGRADED MODE. Incomplete RAID LVs will be processed.
Finding all volume groups
Finding volume group "WOWZASERVER"
[Code] ....
After deleting the log files, I was able to regain access to my GDM session. But I still cant find out what /dev/dm-0 is, and where all the 75 GB is being taken up.
I just noticed, however, even though I can access the drive A-OK via browser, terminal, and web services (Our wowza) when I enter gParted I get this error for sda, my primary OS drive!
Code: Select all Libparted Bug Found!
Error informing the kernel about modifications to partition /dev/sda2 -- Invalid argument. This means Linux won't know about any changes you made to /dev/sda2 until you reboot -- so you shouldn't mount it or use it in any way before rebooting
Now that I'm in gParted I see 3 partitions: [URL] ....
It reports now, that I have used ALL of my disk space.
Post Log delete, and fresh reboot, this is what Code: Select alldf -h outputs
Code:
Select all Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 106G 8.7G 92G 9% /
udev 10M 0 10M 0% /dev
tmpfs 3.2G 9.8M 3.2G 1% /run
tmpfs 7.9G 80K 7.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
[Code] ....
What the heck is going on?
I'm afraid I am going to expose my age here.
I remember being able to format a 3.5 inch floppy using MS DOS. The command was format a:/s
("a" was the drive letter and the "/s" was to add the bootable system file.)
HOW can I do that in LINUX, specially Debian 6.01 (my current version) I googled it and found a bunch of sites all offering answers.
NONE worked for me, I saw an option in a Slackware installation with a "make bootable USB stick option".
(It can be used as a rescue USB Stick also) We don't have that in Debian. How can I do that with my current Debian install?
I have several Debian USB installs on flash drives, They work great and give the user an opportunity to run and experience Debian with modifying their set-up. I am trying to set-up one that will NOT only boot and work as a live install, but will also allow me to install on the host machine right from the working USB Flash drive, if I choose to do so.
I created a bootable Debian installer on my USB flash drive. The Debian Installation Guide advises;
The hybrid image on the stick does not occupy all the storage space, so it may be worth considering using the free space to hold firmware files or packages or any other files of your choice. This could be useful if you have only one stick or just want to keep everything you need on one device. Create a second, FAT partition on the stick, mount the partition and copy or unpack the firmware onto it.
I want to put non free firmware packages on the stick but when I try to create a FAT partition in the free space using Disk Utility I get the following error;
Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sdb, start=661837824, size=7507093504, type=
Entering MS-DOS parser (offset=0, size=8168931328)
MSDOS_MAGIC found
looking at part 0 (offset 0, size 657457152, type 0x00)
new part entry
[Code] ....
I formatted the drive to clear it, created a new FAT partition and copied the Debian.iso to it again. When I tried again to create a partition in the free space the same error occurred.
Debian 8 "Jessie"
AMD CPU
EFI motherboard
System was working reliably. Moved components into a new case. Now system will not boot. Either gives error that the disk is not bootable or displays the motherboard configuration screen.
I am able to boot Debian with a USB drive and have attempted fixes in "rescue mode".
I confirmed that the system is booting to EFI mode.
I have tried re-installing the grub-efi package and re-creating the Grub config file with update-grub.
When re-installing Grub I receive "Discarding improperly nested partition ..." warnings but the installation succeeds. I have searched this warning message and the forums seem to say that it can be ignored.
I have tried re-setting the motherboard NVRAM using the jumper block.
The computer shows "debian" as a boot choice in addition to the usual raw drive model listing. However, neither of the choices will boot successfully.
If I dd copy a bootable usb drive to an iso will the iso be bootable?
I haven't tried it yet, but i'm going to. Heres the situation and tell me if I'm crazy.
I have several bootable CDs I use at work to do different things, so I went ahead and made a multi-boot usb stick with the isos on them and everything is golden. When i need something else, I am able to slap the ISO on the usb stick, edit the menu.lst and I'm good to go.
The problem is, for some of our equipment I have a bootable USB stick that I have to use. I tried copying the files on the bootable USB to my multi-boot usb and setup grub to boot it (which admittedly I'm no expert at), but have had no luck.
So now I'm thinking, I'll use dd to copy the bootable USB stick to an iso (using bs=2048) and then do my normal setup with an ISO and maybe it will work.
I would like to build an oem style install partions that is bootable with menu to choose if I want to run install or boot already installed system. I would like to include current source packages on the same dive so if I don't have internet access at time of install, can can still install what I need.I know with Windows Vista and Windows 7, you can get this but how can I do this with Debian?
View 1 Replies View RelatedHow can i copy my G4L bootable CD into a partition, so thar i can boot from it, and not use the CD anymore?The idea is based in the fact that i am so lazy ... that opening/closing the CD is getting on my nerves
View 5 Replies View RelatedI just booted one of my computers from a usb drive I had installed Ubuntu 10.04 LTS to, and when I booted it up on that computer, it worked fine. Then, when I powered down the computer and booted it back up to the main hard drive, it booted to the same that my flash drive was running, but my flash drive was not plugged in!! How is this possible? Did it copy itself over my other operating system? There is no trace of it. By the way, that, too, was ubuntu 10.04.
View 2 Replies View RelatedHaving trouble with mounting drives, I have a usb pen drive that mounts no trouble now I've installed ntfs-3g and modified the fstab. however i can't write to it. I get the error as shown in the attached screen shot.
[Code]....
Is there a way to permanently, completely and utterly disabling the "feature" that stops me from opening my CD drive? I suspect it is the same thing that asks me if I want to play/mount/etc things when I plug them in. I don't - I just want to be allowed to use my computer without silly hindrances and interruptions. What is it that tries to take over my computer in this way?
View 10 Replies View Related I think my root drive is 100% full causing strange problems with my video server. What steps can I use to see what's taking up the room on the drive and perhaps identify files that can safely be deleted?
Code: Select allroot@lenny:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 55G 53G 0 100% /
udev 10M 0 10M 0% /dev
tmpfs 793M 1.1M 792M 1% /run
[code]...
How to run a fsck on a mounted drive? I attempted unmount and it said no. I suddenly got an error 4 and trying to run a check, and it aborts with can't cause mounted.
View 10 Replies View RelatedI have installed a core debian install on the NAND on a little ARM dockstar, which is fine as a slow little media storage server but really i need to put squeezebox server on it and my media collection. Theres no issue slapping in a 2.5 usb HD in to the dock with my media on ... the issue i have is i do not have room in nand for the server application/associated dependancies (plus a lot of read/write issues if i put them in nand) so i am wondering if its possible to ammend the configuration somehow to have apt automatically install the server software (a pig to do manually with all the dependancies) to the USB HD (rather than the default nand paths) without affecting the operation/dependancies in the core install in NAND
View 5 Replies View RelatedI am having problem accessing and detecting a HFS+ USB HD Drive. I already installed HFSPLUS apps and its corresponding utils and said HFS and HFSPLUS module is loaded in my kernel.In short, my 1386 Debian squeeze cannot detect the said Drive and such I cannot mount it.
View 1 Replies View RelatedI tried to download Gparted on USB pen drive.My machine is HP mini which does not have CD drive.After download is completed, Power2go poped up and message says "No burner available..no right to access.."
View 4 Replies View RelatedSo after having spent the past half year preparing to abandon Windows and come over to Debian I finally made the switch last night only to realize I forgot one important thing... I didn't figure out how to map the network drive on my Windows server (currently learning to replace this with Debian as well) to my Debian system.
I have read about 15 links but keep getting the following error: Mount Error (6): No such device or address
Here is what I'm trying to enter into my terminal (with important bits removed for security of course)
mount -t cifs //xxx.xxx.xxx.xxx/Network_Storage/ -o username=xxx,password=xxx /mnt/cifs
when I type 'fdisk -l' I get the following:
Device Boot Start End Sectors Size Id Type
/dev/sdb1 16065 584830259 584814195 278.9G f W95 Ext'd (LBA)
/dev/sdb5 16128 584830259 584814132 278.9G 7 HPFS/NTFS/exFAT
I have 2 hard drives both are 278.9GB in a mirror raid 1. Why does 2 partitions show up? Are they referring to each physical hard drive? I want to believe that this is the same partition and not two different physical hard drives since both are in the same 'start' and 'end' range. Is that correct?
I'm trying to set up an SSD as a cache to my external HDD (which is where my installation of Debian testing/stretch is installed). My installation is using LVM 2. I'm trying to have the SSD cache the entire external HDD, and not just one of the partitions (such as the root or home partitions).
Here are the relevant outputs.
uname -a: (Yes, I'm using the Debian stable kernel with Debian testing.)
Code: Select all3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux
lsblk:
Code: Select allNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
sdb 8:16 0 111.8G 0 disk
sdc 8:32 0 298.1G 0 disk
├─sdc1 8:33 0 243M 0 part /boot
└─sdc5 8:37 0 297.8G 0 part
└─sdb5_crypt 254:0 0 297.8G 0 crypt
├─mydebianhostname--vg-root 254:1 0 14.3G 0 lvm /
├─mydebianhostname--vg-swap_1 254:2 0 11.5G 0 lvm [SWAP]
└─mydebianhostname--vg-home 254:3 0 267G 0 lvm /home
sr0 11:0 1 25M 0 rom
make-bcache -B /dev/sdc:
Code: Select allCan't open dev /dev/sdc: Device or resource busy
Must I "operate" on this drive via a live session or something.
I want to move my old system to a new drive. Currently I have Debian installed with following configuration:
I have an encrypted system where everything is encrypted except /boot. Currently I've /boot and / installed on a 16 GB mSata SSD and /home on a regulard HDD. I've got a 500GB SSD for Christmas and want to move the whole system to the new SSD.
I just wanted to ask if I've got the process required to to this down:
1. backup root-directory (/) without and /boot /home using tar keeping file-permissions and owners to ext. hard drive
2. backup /boot and /home separately using the same method
2. replace HDD with SSD remove mSATA SDD.
3. boot via live-usb
4. create appropriate volume groups, partitions, setup encryption etc.
5. extract backups to appropriate partitions
6. chroot to old /.
7. edit fstab
8. reinstall grub
9. create new init ram img.
I'm pretty sure I've got steps 1.-6. down but I'm very shaky on what to do next.
Basically, I have no trouble booting off a really old kernel like 2.6.18-6. If I try to boot off the newest one installed with Lenny, I get errors such as "mounting /dev/ on /root/dev failed...ditto for /sys on /root/sys" almost as if it's failing to find the drive. This finishes up with "target filesystem doesn't have /sbin/init" and I'm dropped into a busybox shell.It's an ordinary SATA drive, which is being used as an OS drive only. It seems as if something has changed with the newer kernel, but I have no idea where to start or what to look for.
View 3 Replies View RelatedI have Squeeze with Gnome.How is the best to stop all kind of usb drive automounting under Gnome?
View 2 Replies View RelatedIm running Squeeze (in VirtualBox on a Win host), and I need to clone my drive to a bigger one and boot from that drive. I used gparted from a live cd for the cloning, and got the following result with fdisk -l:
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code].....
I have a new 1.5tb internal drive I want to partition as NTFS (because Windoze machines need to see/use it) and in gparted, when I go to partition -> new, it says it could not add this operation to the list a partition cannot have a length of -1 sectors. I recall having this issue on my 2tb external drive and I ended up creating the NTFS parition on a Windoze machine and then bringing it to the Linux box but since this is an internal drive, that's not an option. I took all the defaults in the "Create new partition" screen.
View 1 Replies View Relatedi have read some time ago the the outer parts of a drive are faster on gparted, is that the left side or the right one?
{consider this thread solved. i don't put the tag as i would like to know for future reference, but it is not actually needed anymore}
Why would gparted not show a mounted partition (and unassigned space)? This is on a Sandisk Sansa e270 which mounts it's data on /media/Sansa. I can utilize the music files but the player won't work. I'd like to reinstall the player software but the Sandisk utilities won't even install (in Windows) if the player software is not working. I thought it would be easy in linux but Gparted doesn't show either the mounted partition or device software partition and it used to so.
View 1 Replies View RelatedRecently tried to make RAID1 on MBR partitions scheme on Debian Jessie - debian-8.1.0-amd64-DVD-1. The issue - I have unable to boot from second drive after grub-install /dev/sdb by any ways. RAID1 itself for / swap and home is fully functional. Decided to try the same thing on GPT, same story. How to boot from second drive on most recent Debian Branches?
View 9 Replies View RelatedI had a Linux server with Wheezy, I have 2 internal drive, one for linux OS, the other our Video On Demand drive that must be accessible to Windows and online. (That's why I chose NTFS, with our large video files, FAT will not work, and EXT isn't compatible with windows sharing, and I haven't gotten FTP to work right .
So I upgraded to Jessie today, and everything went smoothly until I tried to access my NTFS drive. (Named WowzaStorage)
I used FSTAB to auto-mount the drive (/dev/sdb1) to /media/ntfs/ on boot. All of this worked swimmingly on Wheezy, but since the update, something got mucked up and I cannot figure it out.
When accessing the mounted NTFS folder in /media/ (if it even shows up) gives me a 'Cannot be found' 'Input/Output error'
When in gParted to examine the drive, I can select it and view all the correct info, but I keep getting "error informing the kernel about modifications to partition /dev/sdb1/ --invalid argument"
Now first I thought maybe the NTFS driver was faulty and I removed 'ntfs-3g' and reinstalled it.
Now when I am in Terminal, after i umount and mount sdb1, I can CD to the drive but not the folders on it... Also using the File Browser, I get errors, and missing folders.
I get "Unhandled error message: Error when getting information for file '/media/ntfs': Input/output error"
is there a way to allow a program mounting a drive without requiring it to ask for sudo password (apart from running it with sudo)? To be more specific, I'm annoyed by the sudo password request by TrueCrypt whenever it needs to mount a volume.
I've thought about creating another user, allowing it to mount volumes and then running TrueCrypt as this user at boot. I don't know whether GNU/Linux allows for such policies... maybe I should look into SELinux?
EDIT: For the issue at hand (encrypted USB stick both on Windows and Linux), I'm investigating FreeOTFE. I'm still curious about the privileges issue, anyway.